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