New answers tagged

0

You are basically always saving the time as highscore. The comments are explaining why your current code is not doing what it should. //Here you save already to your playerPref PlayerPrefs.SetFloat("Minutes", minutes); PlayerPrefs.SetFloat("Seconds", seconds); timeText.text = string.Format("{0:00}:{1:00}", minutes, seconds); //...


Top 50 recent answers are included