示例#1
0
 void OnLogon()
 {
     if (username.text == "" || password.text == "")
     {
         return;
     }
     logonRequest?.SendRequest(username.text, password.text);
 }
示例#2
0
 private void OnLogonClick()
 {
     if (username.text == "" || password.text == "")
     {
         Debug.Log("用户名或密码不能为空");
     }
     else
     {
         Debug.Log("点击注册");
         logonRequest.SendRequest(username.text, password.text);
     }
 }