void Init() { s_Player = GameObject.Find("Stage3").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Ove = GameObject.Find("Stage3").transform.FindChild("Ove").GetComponent <Ove>(); s_Flower1 = GameObject.Find("Stage3").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage3").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage3").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_Tower = GameObject.Find("Stage3").transform.FindChild("Tower").GetComponent <Tower>(); s_Switch = GameObject.Find("Stage3").transform.FindChild("Switch").GetComponent <Switch>(); s_Ladder1 = GameObject.Find("Stage3").transform.FindChild("Ladder1").GetComponent <Ladder>(); s_Ladder2 = GameObject.Find("Stage3").transform.FindChild("Ladder2").GetComponent <Ladder>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Player.Init(); s_Player.transform.position = new Vector3(4.6f, -48.9f, -1); s_Ove.Init(); s_Ove.transform.position = new Vector3(24.3f, -52.1f, -2); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_Tower.Init(); s_Switch.Init(); s_Ladder1.Init(); s_Ladder2.Init(); }
void Init() { s_Player = GameObject.Find("Stage6").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Ove = GameObject.Find("Stage6").transform.FindChild("Ove").GetComponent <Ove>(); s_Flower1 = GameObject.Find("Stage6").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage6").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage6").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_Tower = GameObject.Find("Stage6").transform.FindChild("Tower").GetComponent <Tower>(); s_Switch1 = GameObject.Find("Stage6").transform.FindChild("Switch1").GetComponent <Switch>(); s_Switch = GameObject.Find("Stage6").transform.FindChild("Switch").GetComponent <Switch>(); s_RotateStep1 = GameObject.Find("Stage6").transform.FindChild("RotateStep1").GetComponent <RotateStep>(); s_RotateStep2 = GameObject.Find("Stage6").transform.FindChild("RotateStep2").GetComponent <RotateStep>(); s_RotateStep3 = GameObject.Find("Stage6").transform.FindChild("RotateStep3").GetComponent <RotateStep>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Ladder = GameObject.Find("Stage6").transform.FindChild("Ladder").GetComponent <Ladder>(); s_Player.Init(); s_Player.transform.position = new Vector3(5.1f, -28.5f, 0); s_Ove.Init(); s_Ove.transform.position = new Vector3(17, -32.1f, -1); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_Tower.Init(); s_Switch.Init(); s_Switch1.Init(); s_Ladder.Init(); s_RotateStep1.Init(); s_RotateStep2.Init(); s_RotateStep3.Init(); }
void Init() { s_Player = GameObject.Find("Stage8").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Tower = GameObject.Find("Stage8").transform.FindChild("Tower").GetComponent <Tower>(); s_Ove = GameObject.Find("Stage8").transform.FindChild("Ove").GetComponent <Ove>(); s_Flower1 = GameObject.Find("Stage8").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage8").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage8").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_Switch = GameObject.Find("Stage8").transform.FindChild("Switch").GetComponent <Switch>(); s_Switch1 = GameObject.Find("Stage8").transform.FindChild("Switch2").GetComponent <Switch>(); s_RailStep = GameObject.Find("Stage8").transform.FindChild("RailStep").GetComponent <RailStep>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Player.Init(); s_Player.transform.position = new Vector3(3.6f, -33.3f, 0); s_Tower.Init(); s_Ove.Init(); s_Ove.transform.position = new Vector3(16, -35.8f, -1); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_Switch.Init(); s_Switch1.Init(); s_RailStep.Init(); }
void Init() { s_Player = GameObject.Find("Stage1").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Switch = GameObject.Find("Stage1").transform.FindChild("Switch").GetComponent <Switch>(); s_BigFlower = GameObject.Find("Stage1").transform.FindChild("BigFlower").GetComponent <Flower>(); s_SmallFlower1 = GameObject.Find("Stage1").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_SmallFlower2 = GameObject.Find("Stage1").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Ove = GameObject.Find("Stage1").transform.FindChild("Ove").GetComponent <Ove>(); s_Tower = GameObject.Find("Stage1").transform.FindChild("Tower").GetComponent <Tower>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Player.Init(); s_Player.transform.position = new Vector3(4.3f, -49.6f, -1); s_Switch.Init(); s_BigFlower.Init(); s_SmallFlower1.Init(); s_SmallFlower2.Init(); s_Ove.Init(); s_Ove.transform.position = new Vector3(51.7f, -51.9f, -2); s_Tower.Init(); }
void Init() { s_Player = GameObject.Find("Stage7").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Ove = GameObject.Find("Stage7").transform.FindChild("Ove").GetComponent <Ove>(); s_Switch = GameObject.Find("Stage7").transform.FindChild("Switch").GetComponent <Switch>(); s_Switch1 = GameObject.Find("Stage7").transform.FindChild("Switch1").GetComponent <Switch>(); s_Switch2 = GameObject.Find("Stage7").transform.FindChild("Switch2").GetComponent <Switch>(); s_Tower = GameObject.Find("Stage7").transform.FindChild("Tower").GetComponent <Tower>(); s_Flower1 = GameObject.Find("Stage7").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage7").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage7").transform.FindChild("SmallFlower3").GetComponent <Flower>(); t_TimeStep1 = GameObject.Find("Stage7").transform.FindChild("TimeStep1").transform; t_TimeStep2 = GameObject.Find("Stage7").transform.FindChild("TimeStep2").transform; t_TimeStep3 = GameObject.Find("Stage7").transform.FindChild("TimeStep3").transform; t_TimeStep4 = GameObject.Find("Stage7").transform.FindChild("TimeStep4").transform; s_Ladder = GameObject.Find("Stage7").transform.FindChild("Ladder").GetComponent <Ladder>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Player.Init(); s_Player.transform.position = new Vector3(3.4f, -33.3f, 0); s_Ove.Init(); s_Ove.transform.position = new Vector3(12.6f, -36, -1); s_Switch.Init(); s_Switch1.Init(); s_Switch2.Init(); s_Tower.Init(); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); t_TimeStep1.gameObject.SetActive(false); t_TimeStep2.gameObject.SetActive(false); t_TimeStep3.gameObject.SetActive(false); t_TimeStep4.gameObject.SetActive(false); s_Ladder.Init(); b_IsOnStep1 = false; b_IsOnStep2 = false; b_IsOnStep3 = false; b_IsOnStep4 = false; }
void Init() { s_Player = GameObject.Find("Stage9").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Ove = GameObject.Find("Stage9").transform.FindChild("Ove").GetComponent <Ove>(); s_Ladder = GameObject.Find("Stage9").transform.FindChild("Ladder").GetComponent <Ladder>(); s_Flower1 = GameObject.Find("Stage9").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage9").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage9").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_Tower = GameObject.Find("Stage9").transform.FindChild("Tower").GetComponent <Tower>(); s_RailStep1 = GameObject.Find("Stage9").transform.FindChild("RailStep1").GetComponent <RailStep>(); t_TimeStep1 = GameObject.Find("Stage9").transform.FindChild("TimeStep1").transform; t_TimeStep2 = GameObject.Find("Stage9").transform.FindChild("TimeStep2").transform; s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Switch = GameObject.Find("Stage9").transform.FindChild("Switch").GetComponent <Switch>(); s_Switch2 = GameObject.Find("Stage9").transform.FindChild("Switch2").GetComponent <Switch>(); s_Switch3 = GameObject.Find("Stage9").transform.FindChild("Switch3").GetComponent <Switch>(); s_Switch4 = GameObject.Find("Stage9").transform.FindChild("Switch4").GetComponent <Switch>(); s_RotateStep = GameObject.Find("Stage9").transform.FindChild("ShortRotateStep").GetComponent <RotateStep>(); s_Player.Init(); s_Player.transform.position = new Vector3(3.5f, -32.9f, 0); s_Ove.Init(); s_Ove.transform.position = new Vector3(9, -35.6f, -1); s_Ladder.Init(); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_Tower.Init(); s_RailStep1.Init(); s_Switch.Init(); s_Switch2.Init(); s_Switch3.Init(); s_Switch4.Init(); s_RotateStep.Init(); s_Tower.gameObject.SetActive(false); t_TimeStep1.gameObject.SetActive(false); t_TimeStep2.gameObject.SetActive(false); }
void Init() { s_Player = GameObject.Find("Stage4").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Switch = GameObject.Find("Stage4").transform.FindChild("Switch").GetComponent <Switch>(); s_Switch1 = GameObject.Find("Stage4").transform.FindChild("Switch1").GetComponent <Switch>(); s_Tower = GameObject.Find("Stage4").transform.FindChild("Tower").GetComponent <Tower>(); s_Ove = GameObject.Find("Stage4").transform.FindChild("Ove").GetComponent <Ove>(); s_Flower1 = GameObject.Find("Stage4").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage4").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage4").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_RotateStep1 = GameObject.Find("Stage4").transform.FindChild("RotateStep1").GetComponent <RotateStep>(); s_RotateStep2 = GameObject.Find("Stage4").transform.FindChild("RotateStep2").GetComponent <RotateStep>(); s_Ladder1 = GameObject.Find("Stage4").transform.FindChild("Ladder1").GetComponent <Ladder>(); s_Ladder2 = GameObject.Find("Stage4").transform.FindChild("Ladder2").GetComponent <Ladder>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); t_LadderCheck1 = GameObject.Find("Stage4").transform.FindChild("LadderCheck1").transform; t_LadderCheck2 = GameObject.Find("Stage4").transform.FindChild("LadderCheck2").transform; s_Player.Init(); s_Player.transform.position = new Vector3(4.4f, -36.6f, -1); s_Switch.Init(); s_Switch1.Init(); s_Tower.Init(); s_Ove.Init(); s_Ove.transform.position = new Vector3(16.5f, -40, -2); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_RotateStep1.Init(); s_RotateStep2.Init(); s_Ladder1.Init(); s_Ladder2.Init(); s_Ladder1.gameObject.SetActive(false); s_Ladder2.gameObject.SetActive(false); t_LadderCheck1.gameObject.SetActive(true); t_LadderCheck2.gameObject.SetActive(true); }
void Init() { s_Player = GameObject.Find("Stage5").transform.FindChild("Player").GetComponent <PlayerControl>(); s_Ove = GameObject.Find("Stage5").transform.FindChild("Ove").GetComponent <Ove>(); s_Flower1 = GameObject.Find("Stage5").transform.FindChild("SmallFlower1").GetComponent <Flower>(); s_Flower2 = GameObject.Find("Stage5").transform.FindChild("SmallFlower2").GetComponent <Flower>(); s_Flower3 = GameObject.Find("Stage5").transform.FindChild("SmallFlower3").GetComponent <Flower>(); s_Tower = GameObject.Find("Stage5").transform.FindChild("Tower").GetComponent <Tower>(); s_Switch = GameObject.Find("Stage5").transform.FindChild("Switch").GetComponent <Switch>(); s_MovingStep1 = GameObject.Find("Stage5").transform.FindChild("MovingStep1").GetComponent <MovingStep>(); s_MovingStep2 = GameObject.Find("Stage5").transform.FindChild("MovingStep2").GetComponent <MovingStep>(); s_StageManager = GameObject.Find("Stage").GetComponent <StageManager>(); s_Player.transform.position = new Vector3(4.2f, -29.2f, 0); s_Player.Init(); s_Ove.Init(); s_Ove.transform.position = new Vector3(14.8f, -31.7f, -1); s_Flower1.Init(); s_Flower2.Init(); s_Flower3.Init(); s_Switch.Init(); s_MovingStep1.Init(); s_MovingStep2.Init(); }