//点击登陆按钮 public void OnLoginButton() { hintMessage.text = ""; loginRequest.Username = username.text; loginRequest.Password = password.text; loginRequest.DefaultRequse(); }
//点击登陆按钮 public void OnLoginButton() { hintText.text = ""; if (usernameIF.text == "" || PasswordIF.text == "") { hintText.text = "输入不能为空!"; StartCoroutine(HintTextDelay()); return; } loginRequest.username = usernameIF.text; loginRequest.password = PasswordIF.text; loginRequest.DefaultRequse(); }