void CheckForHighScore() { if (Score > HighScore) // Checks if current score is more than the current HighScore { HighScore = Score; HSText.text = "Best\n" + HighScore.ToString(); SDS.SetHighScore(HighScore); SDS.Save(); } else { HSText.text = "Best\n" + HighScore.ToString(); } }