소스 검색

修改minimap顺序

wartheking 9 달 전
부모
커밋
bfd3a5133b
3개의 변경된 파일4개의 추가작업 그리고 101개의 파일을 삭제
  1. 0 97
      Assets/Scene 1.unity
  2. 3 3
      Assets/Scripts/UI/UIView/YZT/OnePicNav.cs
  3. 1 1
      Assets/Scripts/UI/UIView/YZT/YZTLayer.cs

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 97
Assets/Scene 1.unity


+ 3 - 3
Assets/Scripts/UI/UIView/YZT/OnePicNav.cs

@@ -43,9 +43,9 @@ public class OnePicNav : MonoBehaviour
     void InitButton() {
         shaPan = GameObject.FindGameObjectWithTag("ShaPan");
         Debug.Log(shaPan);
-        runtimePointStaticBind.Add(shaPan.transform.GetChild(5).GetChild(0));
-        runtimePointStaticBind.Add(shaPan.transform.GetChild(5).GetChild(1));
-        runtimePointStaticBind.Add(shaPan.transform.GetChild(5).GetChild(2));
+        runtimePointStaticBind.Add(shaPan.transform.GetChild(6).GetChild(0));
+        runtimePointStaticBind.Add(shaPan.transform.GetChild(6).GetChild(1));
+        runtimePointStaticBind.Add(shaPan.transform.GetChild(6).GetChild(2));
         CameraManager.SwitchCamera(1);
         btns = new List<Button>();
         Button[] bts = this.GetComponentsInChildren<Button>();

+ 1 - 1
Assets/Scripts/UI/UIView/YZT/YZTLayer.cs

@@ -668,7 +668,7 @@ public class YZTLayer : YZTRootLayer
             newPoint.InitPoint(hotPointSprite[(int)(temp.type)], temp.name_pri, temp.name); ;
             newPoint.layerIDs.Add((int)(temp.type));
             newPoint.bingObj = Instantiate(runtimePointObj).gameObject;
-            newPoint.bingObj.transform.SetParent(shaPan.transform.GetChild(6));
+            newPoint.bingObj.transform.SetParent(shaPan.transform.GetChild(8));
             newPoint.bingObj.transform.localEulerAngles = Vector3.zero;
             newPoint.bingObj.transform.localScale = Vector3.one;
             newPoint.bingObj.transform.localPosition = tempLocalPosition;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.