Exemple #1
0
 void Start()
 {
     _saveBehaviour = GameObject.FindObjectOfType <SaveBehaviour>();
     _switch_scene  = GameObject.FindObjectOfType <Switch_Scene>();
     _setHighscore  = GameObject.FindObjectOfType <SetHighscore>();
 }
Exemple #2
0
 void Start()
 {
     _gameOver_Panel.SetActive(true);
     _switch_scene = GameObject.FindObjectOfType <Switch_Scene>();
 }