public void OnLoginButton() { hintMassage.text = ""; //登录时将提示信息清空 loginRequest.Name = nameIF.text; //获取控件中的文字 loginRequest.Pwd = pwdIF.text; loginRequest.DefaultRequest(); //发起请求 }
public void DefaultRequest() { Tip.text = ""; loginrequest.username = usernameIF.text; loginrequest.password = passwordIF.text; loginrequest.DefaultRequest(); }
public void OnLoginButton() { hintMessage.text = ""; loginRequest.Username = usernameIF.text; loginRequest.Password = passwordIF.text; loginRequest.DefaultRequest(); }
public void OnLoginButton() { hintMessage.text = ""; loginRequest.UserName = userNameInput.text; loginRequest.PassWord = passWordInput.text; loginRequest.DefaultRequest(); }
/// <summary> /// 登录按钮 /// </summary> private void OnLoginBtn() { ResponseText.text = ""; loginRequest.username = username.text; loginRequest.password = password.text; loginRequest.DefaultRequest(); Debug.Log("OnLoginBtn"); }
public void OnLoginButton() { m_hitMessage.text = ""; m_loginRequest.m_userName = m_userNameIF.text; m_loginRequest.m_passWord = m_passwordIF.text; m_loginRequest.DefaultRequest(); }
public void OnLoginClick() { message.text = ""; loginRequest.Username = usernameIF.text; loginRequest.Password = passwordIF.text; loginRequest.DefaultRequest(); }
public void OnLoginButton() { //点击登陆按钮时,发送请求 hintmessage.text = ""; loginRequest.UserName = username.text; loginRequest.Password = password.text; //调用请求类中的发起请求 loginRequest.DefaultRequest(); }
public void OnLogin() { if (loginUsername.text == "" || loginPassword.text == "") { Debug.Log("用户名或者密码不能为空"); return; } loginRequest.UserName = loginUsername.text; loginRequest.Password = loginPassword.text; loginRequest.DefaultRequest(); }
public void OnLoginButtonDown() { string strUserName = usernameIF.text; string strPassword = passwordIF.text; if (strUserName == "") { SetHitText("账号不能为空"); } else if (strPassword == "") { SetHitText("密码不能为空"); } else { SetHitText(""); scriptLoginRequest.UserName = strUserName; scriptLoginRequest.PassWord = strPassword; scriptLoginRequest.DefaultRequest(); } Debug.Log("Login U:" + strUserName + " P:" + strPassword); }
void OnLoginButton() { loginRequest.Username = usernameIF.text; loginRequest.Password = passwordIF.text; loginRequest.DefaultRequest(); }
private void OnLoginButtonClick() { _loginRequest.Username = _usernameInputField.text; _loginRequest.Password = MD5Util.GetMD5(_passwordInputField.text); _loginRequest.DefaultRequest(); }
void SendRequest() { loginRequest.DefaultRequest(); // 发起登录请求脚本的默认请求 }
private void OnLogin() { LoginRequest.userName = input_userName.text; LoginRequest.passWord = input_passWord.text; LoginRequest.DefaultRequest(); }