예제 #1
0
 void Start()
 {
     ctr = GameObject.FindGameObjectWithTag("Player").transform.GetChild(5).GetComponent <GameCtr>();
     if (SceneManager.GetActiveScene().buildIndex == 25)
     {
         ctr.LoadGame();
     }
 }
예제 #2
0
 void Start()
 {
     ctr = GameObject.FindGameObjectWithTag("Player").transform.GetChild(5).GetComponent <GameCtr>();
     ctr.LoadGame();
 }