IEnumerator RefreshHighscores() { while (true) { Debug.Log("Downloading leaderboard"); highscoresManager.DownloadHighscores(); yield return(new WaitForSeconds(20f)); } }
IEnumerator RefreshHighscores() { while (true) { Debug.Log("Downloading leaderboard"); highscoresManager.DownloadHighscores(); yield return(new WaitForSeconds(20f)); } }