void Start() { GameInstructions.LoadSaves(); bestScoreHeat = GameInstructions.HighScoresValues.bestScoreHeat; bestScoreNormal = GameInstructions.HighScoresValues.bestScoreNormal; bestTimeHeat = GameInstructions.HighScoresValues.bestTime; bestTimeNormal = GameInstructions.HighScoresValues.bestTimeNormal; bestHeat = GameInstructions.HighScoresValues.topHeat; bestLevel = GameInstructions.HighScoresValues.topLevel; }
public void SetHighScores() { if (PlayerPrefs.HasKey(Literals.Saves.First_SAVE)) { GameInstructions.LoadSaves(); bestTime.text = GameInstructions.HighScoresValues.bestTime; bestTimeNormal.text = GameInstructions.HighScoresValues.bestTimeNormal; bestScoreNormal.text = GameInstructions.HighScoresValues.bestScoreNormal.ToString(); bestScoreHeat.text = GameInstructions.HighScoresValues.bestScoreHeat.ToString(); LKS.text = GameInstructions.HighScoresValues.longestKS.ToString(); LKSNormal.text = GameInstructions.HighScoresValues.longestKSNormal.ToString(); HZK.text = GameInstructions.HighScoresValues.HZK.ToString(); HZKNormal.text = GameInstructions.HighScoresValues.HZKNormal.ToString(); topLevel.text = GameInstructions.HighScoresValues.topLevel.ToString(); topHeat.text = GameInstructions.HighScoresValues.topHeat.ToString(); } }