Example #1
0
 public void LoginBtnOnClick()
 {
     if (this.isLogining || this.IsDisposed)
     {
         return;
     }
     this.isLogining = true;
     LandHelper.Login(this.account.text, this.password.text).Coroutine();
 }
Example #2
0
 public void RegisterBtnOnClick()
 {
     if (this.isRegistering || this.IsDisposed)
     {
         return;
     }
     this.isRegistering = true;
     LandHelper.Register(this.account.text, this.password.text).Coroutine();
 }
Example #3
0
 public void RegisterBtnOnClick()
 {
     if (this.isRegistering || this.IsDisposed)
     {
         return;
     }
     if (this.account.text.Length <= 0 || this.password.text.Length <= 0)
     {
         prompt.text = "账号或密码长度不能为0";
         return;
     }
     this.isRegistering = true;
     LandHelper.Register(this.account.text, this.password.text).Coroutine();
 }