Exemple #1
0
 public void GameOver()
 {
     PlayerPrefs.Save();
     if (!TopPanel.activeInHierarchy)
     {
         DeadPanel.SetActive(true);
     }
     phoneUI.SetActive(false);
     TopPanel.SetActive(true);
     PowerOff();
     Stop();
 }