예제 #1
0
 public void RegisterBtnOnClick()
 {
     if (this.isRegistering || this.IsDisposed)
     {
         return;
     }
     this.isRegistering = true;
     LandHelper.Register(this.account.text, this.password.text).Coroutine();
 }
예제 #2
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();
 }