//Updates the Leaderboard every 30 frames.
 IEnumerator RefreshHighscores()
 {
     while (true)
     {
         highscoreManager.DownloadHighscores();
         yield return(new WaitForSeconds(30));
     }
 }