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