Esempio n. 1
0
 public void CreateCharacter()
 {
     if (_characterCreationMenuNameInputField.text.Length >= 6)
     {
         if (_characterCreationMenuGender != "")
         {
             ClientSend.CharacterCreationRequest(Account.Current.ID, _characterCreationMenuNameInputField.text, _characterCreationMenuGender);
         }
         else
         {
             _characterCreationMenuMessage.text = "You should select gender for your character";
         }
     }
     else
     {
         _characterCreationMenuMessage.text = "Name must be at least 6 characters and less then 12";
     }
 }