Example #1
0
 private void OnDestroy()
 {
     globalControl.SetScore(score);
     PlayerPrefs.SetInt("highscore", highscore);
 }