DownloadHighscores() public method

public DownloadHighscores ( ) : void
return void
 public void RetryButton()
 {
     if (cancel == true)
     {
         fading.DisappearConnectionErrorMessageCanvas();
         highScores.DownloadHighscores();
     }
     else
     {
         fading.DisappearConnectionErrorMessageCanvas();
         highScores.AddNewHighscore(playerName, (int)score, (int)wave);
     }
 }
Ejemplo n.º 2
0
 //Leaderboard Screen
 public void EnterLeaderBoardScreen()
 {
     HighS.DownloadHighscores();
     GameOverScener.SetActive(false);
     UIScener.SetActive(false);
     leaderScener.SetActive(true);
     OptionScener.SetActive(false);
 }
Ejemplo n.º 3
0
 IEnumerator RefreshHighscores()
 {
     while (true)
     {
         highscoresManager.DownloadHighscores();
         yield return(new WaitForSeconds(30));
     }
 }