Exemplo n.º 1
0
 public static void GameOver()
 {
     photon.Die();
     enemySpawner.enabled = false;
     gameIsOver           = true;
     if (newHiscore)
     {
         PlayerData.stats.hiScore = score;
         PlayerData.stats.Save();
     }
     uiManager.GameOverUI(score);
 }