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