Exemple #1
0
        public void SubmitForm(string value)
        {
            int _value = 0;

            int.TryParse(value, out _value);
            OnSubmit.Invoke(_value);
        }
Exemple #2
0
        public void SubmitForm()
        {
            LobbyType _t = LobbyType.Default;

            if (LobbyTypeInput.value == 1)
            {
                _t = LobbyType.SqlLobby;
            }
            else if (LobbyTypeInput.value == 2)
            {
                _t = LobbyType.AsyncRandomLobby;
            }

            string[] _expectedUsers = string.IsNullOrEmpty(ExpectedUsersInput.text) ? null : ExpectedUsersInput.text.Split(',').Select(t => t.Trim()).ToArray();

            OnSubmit.Invoke(
                string.IsNullOrEmpty(RoomNameInput.text) ? null : RoomNameInput.text,
                string.IsNullOrEmpty(LobbyNameInput.text) ? null : LobbyNameInput.text,
                _t,
                _expectedUsers);
        }
Exemple #3
0
 public void SubmitForm()
 {
     OnSubmit.Invoke(PropertyValueInput.text);
 }
Exemple #4
0
 void OnValueChanged(bool value)
 {
     OnSubmit.Invoke(PropertyValueInput.isOn);
 }
Exemple #5
0
 public virtual void OnSubmit(BaseEventData eventData)
 {
     OnSubmitEvent?.Invoke(eventData);
 }
Exemple #6
0
 public void SubmitForm()
 {
     OnSubmit.Invoke(RegionInput.text);
 }
 public void SubmitForm()
 {
     PlayerPrefs.SetString(UserIdUiForm.UserIdPlayerPref, idInput.text);
     OnSubmit.Invoke(idInput.text);
 }
Exemple #8
0
 public void SubmitForm(string value)
 {
     OnSubmit.Invoke(value);
 }