public void SubmitForm(string value) { int _value = 0; int.TryParse(value, out _value); OnSubmit.Invoke(_value); }
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); }
public void SubmitForm() { OnSubmit.Invoke(PropertyValueInput.text); }
void OnValueChanged(bool value) { OnSubmit.Invoke(PropertyValueInput.isOn); }
public virtual void OnSubmit(BaseEventData eventData) { OnSubmitEvent?.Invoke(eventData); }
public void SubmitForm() { OnSubmit.Invoke(RegionInput.text); }
public void SubmitForm() { PlayerPrefs.SetString(UserIdUiForm.UserIdPlayerPref, idInput.text); OnSubmit.Invoke(idInput.text); }
public void SubmitForm(string value) { OnSubmit.Invoke(value); }