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