Beispiel #1
0
 void CheckForNewHighscore()
 {
     if (currentTime > PlayerPrefsConstants.GetHighscoreTime())
     {
         PlayerPrefsConstants.SetHighscoreTime(currentTime);
     }
 }
Beispiel #2
0
 public int GetHighscoreTimeInSeconds()
 {
     return(Mathf.RoundToInt(PlayerPrefsConstants.GetHighscoreTime()));
 }