Пример #1
0
 public void GameOver()
 {
     if (score > PlayerPrefs.GetInt("highscoreTable"))
     {
         username = PlayerPrefs.GetString("Username");
         HighScores.AddHighscoreEntry(score, username);
     }
     SceneManager.LoadScene("3Exit");
 }