private void Start() { if (isMenuEntry && ScoreEntry.Exists(0)) { int numHighscores = PlayerPrefs.GetInt("numHighscores", 0); ScoreEntry[] scores = new ScoreEntry[numHighscores]; for (int i = 0; i < numHighscores; i++) { scores[i] = ScoreEntry.Read(i); } List <ScoreEntry> highscores = scores.ToList(); highscores.Sort(); Initialize(highscores[0], 0); } }