Exemplo n.º 1
0
 public void LoginBtnOnClick()
 {
     if (this.isLogining || this.IsDisposed)
     {
         return;
     }
     this.isLogining = true;
     LandHelper.Login(this.account.text, this.password.text).Coroutine();
 }
Exemplo n.º 2
0
 public void RegisterBtnOnClick()
 {
     if (this.isRegistering || this.IsDisposed)
     {
         return;
     }
     this.isRegistering = true;
     LandHelper.Register(this.account.text, this.password.text).Coroutine();
 }
Exemplo n.º 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();
 }