Commit a8b74e8f authored by maxiaoliang's avatar maxiaoliang

修改按钮晃动

parent e1609386
...@@ -15,40 +15,40 @@ using System.IO; ...@@ -15,40 +15,40 @@ using System.IO;
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using UnityEditor.Callbacks; using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode; //using UnityEditor.iOS.Xcode;
public class BuildPostProcessor public class BuildPostProcessor
{ {
[PostProcessBuildAttribute(1)] //[PostProcessBuildAttribute(1)]
public static void OnPostProcessBuild(BuildTarget target, string path) //public static void OnPostProcessBuild(BuildTarget target, string path)
{ //{
if (target == BuildTarget.iOS) // if (target == BuildTarget.iOS)
{ // {
// Read. // // Read.
string projectPath = PBXProject.GetPBXProjectPath(path); // string projectPath = PBXProject.GetPBXProjectPath(path);
PBXProject project = new PBXProject(); // PBXProject project = new PBXProject();
project.ReadFromString(File.ReadAllText(projectPath)); // project.ReadFromString(File.ReadAllText(projectPath));
string targetName = project.GetUnityMainTargetGuid(); // string targetName = project.GetUnityMainTargetGuid();
string targetGUID = project.TargetGuidByName(targetName); // string targetGUID = project.TargetGuidByName(targetName);
AddFrameworks(project, targetGUID); // AddFrameworks(project, targetGUID);
// Write. // // Write.
File.WriteAllText(projectPath, project.WriteToString()); // File.WriteAllText(projectPath, project.WriteToString());
} // }
} //}
static void AddFrameworks(PBXProject project, string targetGUID) //static void AddFrameworks(PBXProject project, string targetGUID)
{ //{
// Frameworks // // Frameworks
project.AddFrameworkToProject(targetGUID, "libz.dylib", false); // project.AddFrameworkToProject(targetGUID, "libz.dylib", false);
project.AddFrameworkToProject(targetGUID, "libsqlite3.tbd", false); // project.AddFrameworkToProject(targetGUID, "libsqlite3.tbd", false);
project.AddFrameworkToProject(targetGUID, "CoreTelephony.framework", false); // project.AddFrameworkToProject(targetGUID, "CoreTelephony.framework", false);
} // }
} }
\ No newline at end of file
...@@ -70,7 +70,7 @@ AnimatorState: ...@@ -70,7 +70,7 @@ AnimatorState:
m_MirrorParameterActive: 0 m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0 m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0 m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 6633a126064604af6b48a22ffb5b21e0, type: 2} m_Motion: {fileID: 7400000, guid: 181a5414734ca4cc296a1c858a495623, type: 2}
m_Tag: m_Tag:
m_SpeedParameter: m_SpeedParameter:
m_MirrorParameter: m_MirrorParameter:
...@@ -800,7 +800,7 @@ AnimatorState: ...@@ -800,7 +800,7 @@ AnimatorState:
m_MirrorParameterActive: 0 m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0 m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0 m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 3cf900a2f08e248a8b0a4765f0fd0a2a, type: 2} m_Motion: {fileID: 7400000, guid: 0235356cfe0e141eeaf63ead572b25e9, type: 2}
m_Tag: m_Tag:
m_SpeedParameter: m_SpeedParameter:
m_MirrorParameter: m_MirrorParameter:
......
...@@ -334,31 +334,31 @@ AnimatorController: ...@@ -334,31 +334,31 @@ AnimatorController:
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: Highlighted - m_Name: Highlighted
m_Type: 9 m_Type: 9
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: Pressed - m_Name: Pressed
m_Type: 9 m_Type: 9
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: Selected - m_Name: Selected
m_Type: 9 m_Type: 9
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: Disabled - m_Name: Disabled
m_Type: 9 m_Type: 9
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
m_AnimatorLayers: m_AnimatorLayers:
- serializedVersion: 5 - serializedVersion: 5
m_Name: Base Layer m_Name: Base Layer
......
...@@ -863,7 +863,7 @@ RectTransform: ...@@ -863,7 +863,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 227, y: 380} m_AnchoredPosition: {x: 263.9, y: 550}
m_SizeDelta: {x: 209, y: 116} m_SizeDelta: {x: 209, y: 116}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &38710111 --- !u!114 &38710111
...@@ -2827,6 +2827,7 @@ RectTransform: ...@@ -2827,6 +2827,7 @@ RectTransform:
- {fileID: 771430749} - {fileID: 771430749}
- {fileID: 634203768} - {fileID: 634203768}
- {fileID: 104890968} - {fileID: 104890968}
- {fileID: 714160461}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 5 m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -6652,7 +6653,7 @@ RectTransform: ...@@ -6652,7 +6653,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 201, y: -7} m_AnchoredPosition: {x: 201, y: 186}
m_SizeDelta: {x: 84, y: 27} m_SizeDelta: {x: 84, y: 27}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &291271162 --- !u!114 &291271162
...@@ -6669,7 +6670,7 @@ MonoBehaviour: ...@@ -6669,7 +6670,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 0
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
...@@ -14564,7 +14565,6 @@ RectTransform: ...@@ -14564,7 +14565,6 @@ RectTransform:
- {fileID: 164107942} - {fileID: 164107942}
- {fileID: 398443785} - {fileID: 398443785}
- {fileID: 881470869} - {fileID: 881470869}
- {fileID: 714160461}
m_Father: {fileID: 634203768} m_Father: {fileID: 634203768}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -17431,12 +17431,12 @@ RectTransform: ...@@ -17431,12 +17431,12 @@ RectTransform:
- {fileID: 291271161} - {fileID: 291271161}
- {fileID: 38710110} - {fileID: 38710110}
- {fileID: 1553180417} - {fileID: 1553180417}
m_Father: {fileID: 592572115} m_Father: {fileID: 105570271}
m_RootOrder: 25 m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1} m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 31, y: 170} m_AnchoredPosition: {x: 0, y: -621}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &714528365 --- !u!1 &714528365
...@@ -27512,7 +27512,7 @@ RectTransform: ...@@ -27512,7 +27512,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -31, y: 371} m_AnchoredPosition: {x: 0, y: 371}
m_SizeDelta: {x: 750, y: 3000} m_SizeDelta: {x: 750, y: 3000}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1191593873 --- !u!114 &1191593873
...@@ -33849,7 +33849,7 @@ RectTransform: ...@@ -33849,7 +33849,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 95} m_AnchoredPosition: {x: 0, y: 288}
m_SizeDelta: {x: 496, y: 171} m_SizeDelta: {x: 496, y: 171}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1447594719 --- !u!114 &1447594719
...@@ -33866,7 +33866,7 @@ MonoBehaviour: ...@@ -33866,7 +33866,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 0
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
...@@ -36692,8 +36692,8 @@ RectTransform: ...@@ -36692,8 +36692,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.0032015, y: 75.5} m_AnchoredPosition: {x: 16.252, y: 284.5}
m_SizeDelta: {x: 561.0065, y: 191.99982} m_SizeDelta: {x: 528.5033, y: 223.96814}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1553180418 --- !u!114 &1553180418
MonoBehaviour: MonoBehaviour:
...@@ -67,7 +67,7 @@ public class CarPresenter : CarContract.Presenter ...@@ -67,7 +67,7 @@ public class CarPresenter : CarContract.Presenter
parm.Add("parkingSpaceId", parkingSpaceId); parm.Add("parkingSpaceId", parkingSpaceId);
HttpTool.Instance._Post("app/v1/game/fkqcw/parking/pickup", parm, new Action<ParkingSpace>((bean) => HttpTool.Instance._Post("app/v1/game/fkqcw/parking/pickup", parm, new Action<ParkingSpace>((bean) =>
{ {
Guide.guide.onClickStep3(); // Guide.guide.onClickStep3();
// mView.CarInfo(bean); // mView.CarInfo(bean);
EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA); EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA);
...@@ -103,7 +103,7 @@ public class CarPresenter : CarContract.Presenter ...@@ -103,7 +103,7 @@ public class CarPresenter : CarContract.Presenter
HttpTool.Instance._Post("app/v1/game/fkqcw/parking/unlock", parm, new Action<ParkingSpace>((bean) => HttpTool.Instance._Post("app/v1/game/fkqcw/parking/unlock", parm, new Action<ParkingSpace>((bean) =>
{ {
EventUtils.OnEvent("unlock"+parkingSpaceId); EventUtils.OnEvent("unlock"+parkingSpaceId);
Guide.guide.onClickStep4(); //Guide.guide.onClickStep4();
//mView.CarInfo(bean); //mView.CarInfo(bean);
//更新主页车列表 //更新主页车列表
EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA); EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA);
...@@ -125,7 +125,7 @@ public class CarPresenter : CarContract.Presenter ...@@ -125,7 +125,7 @@ public class CarPresenter : CarContract.Presenter
HttpTool.Instance._Post("app/v1/game/fkqcw/parking/unlock", parm, new Action<ParkingSpace>((bean) => HttpTool.Instance._Post("app/v1/game/fkqcw/parking/unlock", parm, new Action<ParkingSpace>((bean) =>
{ {
EventUtils.OnEvent("unlock" + parkingSpaceId); EventUtils.OnEvent("unlock" + parkingSpaceId);
Guide.guide.onClickStep4(); //Guide.guide.onClickStep4();
//mView.CarInfo(bean); //mView.CarInfo(bean);
//更新主页车列表 //更新主页车列表
EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA); EventCenter.Broadcast(MyEventType.UPDATE_CAR_LIST_DATA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment