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