Esempio n. 1
0
 public static void TriggerGameOver(LevelManager.DeathList _gameover)
 {
     if(GameOver != null && LevelManager.GAMESTATE != GameState.GameOver)
     {
         Debug.Log ("GameOver +" + _gameover.ToString());
         LevelManager.GAMESTATE = GameState.GameOver;
         LevelManager.CAUSEDEATH = _gameover;
         GameOver();
     }
 }