private void Start()
 {
     CustomEvents.GameStateChanged(Gamestate.LoadOut);
 }
Beispiel #2
0
 void LevelCleared()
 {
     GameController.Instance.sceneController.clearedLevel = true;
     CustomEvents.GameStateChanged(Gamestate.GameOver);
 }
Beispiel #3
0
 public void Playerdead()
 {
     GameController.Instance.sceneController.clearedLevel = false;
     CustomEvents.GameStateChanged(Gamestate.GameOver);
     //gameObject.SetActive(false);
 }
Beispiel #4
0
 void StartGame()
 {
     CustomEvents.GameStateChanged(Gamestate.Game);
 }