コード例 #1
0
 IEnumerator RefreshHighscores()
 {
     while (SceneManager.GetActiveScene().name == "Startmenu")
     {
         highscoreManager.Downloadighscores();
         yield return(new WaitForSeconds(30));
     }
 }