private void OnRLogin() { if (rPassword.text == rRePassword.text) { Actor_LoginHelper.OnRegisteredLoginAsync(rAccount.text, rPassword.text).Coroutine(); } else { Debug.Log("两个密码不一样!"); } }
private void ReConnect(bool isRe) { if (isRe) { Actor_LoginHelper.ReConnect().Coroutine(); } else { //弹窗 PopupsHelper.ShowPopups("连接失败,请重新登录", () => { Game.EventSystem.Run(CowCowEventIdType.RemoveGameRoom); Game.EventSystem.Run(CowCowEventIdType.RemoveLobby); Game.Scene.GetComponent <SessionComponent>().Session.RemoveComponent <PingComponent>(); Game.Scene.GetComponent <SessionComponent>().Session.Dispose(); }); } }
private void OnLogin() { Actor_LoginHelper.OnLoginAsync(account.text, password.text).Coroutine(); }