Beispiel #1
0
 public void QuitGame()
 {
     if (Player.playerScore > 0)
     {
         PrefTracker.SaveScores(ScoreTracker.highScores);
     }
     PlayerPrefs.Save();
     Application.Quit();
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     PrefTracker.PullScores(ScoreTracker.highScores);
 }