コード例 #1
0
 //Updates the Leaderboard every 30 frames.
 IEnumerator RefreshHighscores()
 {
     while (true)
     {
         highscoreManager.DownloadHighscores();
         yield return(new WaitForSeconds(30));
     }
 }