private void Start() { if (IsInCorrectScene()) { leaderBoardControllerScript = GameObject.Find("LeaderboardController").GetComponent <LeaderBoardControllerScript> (); } }
void Start() { if (IsInCorrectScene()) { leaderBoardControllerScript = GameObject.Find("LeaderboardController").GetComponent <LeaderBoardControllerScript>(); } fading = GameObject.Find("GameMaster").GetComponent <Fading> (); Invoke("DeathTesterFunc", 5f); }