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