예제 #1
0
 public void CreateGame()
 {
     gameCreationButton.interactable = false;
     gameClientManager.CreateGame(new CreateGameMsg {
         gameName   = gameNameText.text,
         minPlayers = (int)minPlayerCountSlider.value,
         maxPlayers = (int)maxPlayerCountSlider.value
     });
     gameNameText.text = "";
 }