Esempio n. 1
0
 public void HighscorePanelYES()
 {
     SoundManager.PlaySoundEffect(SoundManager.SoundEffect.ButtonClick);
     nameKey = Nameinput.text;
     if (Nameinput.text == "")
     {
         nameKey = "Test";
     }
     updating = false;
     scoreKey = (int)(ScoreManager.CurrentScore);
     TextManager.Write(nameKey, scoreKey);
     UIPanelManager.DisableUIPanel(UIPanelManager.UIPanel.NewHighscore);
     UIPanelManager.ShowUIPanel(UIPanelManager.UIPanel.GameOver);
 }