示例#1
0
 public void OnConfirmButtonClicked()
 {
     if (turnManagerScript.getCurrentPlayerIndex() < players.Count - 1)
     {
         turnManagerScript.goToNextPlayer();
         SceneManager.LoadScene(DinnerPartyScenes.PASS_PATH);
     }
     else
     {
         SceneManager.LoadScene(DinnerPartyScenes.START_GAME_PATH);
     }
 }