Browse Source

取消查看轨迹

lvjincheng 3 năm trước cách đây
mục cha
commit
740ed55bf7

+ 5 - 62
Assets/BowArrow/Scenes/Game.unity

@@ -7460,7 +7460,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.245823, y: 0}
+  m_AnchoredPosition: {x: 29.418457, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &589339043
@@ -7710,63 +7710,6 @@ Transform:
   m_Father: {fileID: 1916142119}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: -0.01640328, y: -0.70306677, z: 0.68008995}
---- !u!1001 &605902385
-PrefabInstance:
-  m_ObjectHideFlags: 0
-  serializedVersion: 2
-  m_Modification:
-    m_TransformParent: {fileID: 0}
-    m_Modifications:
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_RootOrder
-      value: 4
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalPosition.x
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalPosition.y
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalPosition.z
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalRotation.w
-      value: 1
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalRotation.x
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalRotation.y
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalRotation.z
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalEulerAnglesHint.x
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalEulerAnglesHint.y
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262602, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_LocalEulerAnglesHint.z
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 7913425043603262603, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
-      propertyPath: m_Name
-      value: ArrowTraceDebug
-      objectReference: {fileID: 0}
-    m_RemovedComponents: []
-  m_SourcePrefab: {fileID: 100100000, guid: b0a23ef0f697c044cbf01eac25ec3b5b, type: 3}
 --- !u!1 &607259153
 GameObject:
   m_ObjectHideFlags: 0
@@ -9777,7 +9720,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.245823, y: 0}
+  m_AnchoredPosition: {x: 29.418457, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &694545845
@@ -15760,7 +15703,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.245823, y: 0}
+  m_AnchoredPosition: {x: 29.418457, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1218454288
@@ -17635,7 +17578,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 48.491646, y: 0}
+  m_AnchoredPosition: {x: 48.836914, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1338115114
@@ -25599,7 +25542,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 78.491646, y: 0}
+  m_AnchoredPosition: {x: 78.836914, y: 0}
   m_SizeDelta: {x: 0, y: 40}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1845023679

+ 0 - 4
Assets/BowArrow/Scripts/Debug/ArrowTraceDebug/ArrowTraceDebug.cs

@@ -30,10 +30,6 @@ public class ArrowTraceDebug : MonoBehaviour
 
     void Start()
     {
-        if (CommonConfig.isReleaseVersion) {
-            GameObject.Destroy(gameObject);
-            return;
-        }
         btnTap.onClick.AddListener(() => {
             isValid = !isValid;
             if (isValid) {