Ejemplo n.º 1
0
 /// <summary>
 /// Check for the best scrore, update it in PlayerPref and UI if required
 /// </summary>
 private void CheckBestScore()
 {
     if (scoreHandler.CheckBestScore())
     {
         PlayerPrefs.SetInt("BestScore", scoreHandler.BestScore);
         uiManager.UpdateBestScore(scoreHandler.BestScore);
     }
 }