コード例 #1
0
 void CheckHighScore()
 {
     print("CheckHighScore");
     highScorePosition = HighScoreController.CheckForHighScore(totalScore);
     print(highScorePosition);
     if (highScorePosition < 10)
     {
         loseScreen.SetActive(false);
         highScorePanel.SetActive(true);
         StartCoroutine(WaitForName());
     }
     else
     {
         SceneManager.LoadScene("_Scene_MainMenu");
     }
 }