Ejemplo n.º 1
0
 void OnConfirm()
 {
     if (Input.GetButtonDown(_confirmString))
     {
         if (!characterSelect.PlayersAreReady())
         {
             characterSelect.ChooseMem(player);
         }
         else if (player == Player.PlayerID.Player1)
         {
             characterSelect.StartGame();
         }
     }
 }