private void Awake() { //registerUI.UserName.onEndEdit.AddListener(delegate { checkUserNameInput(registerUI.UserName.text); }); //registerUI.PasswordConfirm.onEndEdit.AddListener(delegate { checkPasswordConfirmInput(registerUI.PasswordConfirm.text); }); //registerUI.Email.onEndEdit.AddListener(delegate { checkEmailInput(registerUI.Email.text); }); registerUI.RegisterBtn.onClick.AddListener(() => setRegisterClick()); registerUI.CloseBtn.onClick.AddListener(() => registerUI.ClearInfo()); }
private void Start() { registerUI.RegisterBtn.onClick.AddListener(() => setRegisterClick()); registerUI.CloseBtn.onClick.AddListener(() => registerUI.ClearInfo()); socketIO.On("R_REGISTER", R_REGISTER); }