protected internal override void OnOpen(object userData) { base.OnOpen(userData); GameEntry.UI.OpenUIForm(UIFormId.MessageForm); m_ProcedureLogin = (ProcedureLogin)userData; if (m_ProcedureLogin == null) { Log.Warning("ProcedureMenu is invalid when open LoginFrom."); return; } }
protected internal override void OnOpen(object userData) { base.OnOpen(userData); m_ProcedureLogin = (ProcedureLogin)userData; QRUrl = null; MachineId = 0; passTime = 0; login = false; needLogout = true; //webView.gameObject.SetActive(true); browser.gameObject.SetActive(true); tips.SetActive(false); exitBtn.AddClick(exitBtnOnClick); NetFsnState = 0; NetFSN(); }
protected internal override void OnOpen(object userData) { base.OnOpen(userData); GameEntry.UI.OpenUIForm(UIFormId.MessageForm); m_loginConcent.SetActive(false); m_userNameField.text = ""; m_passWordField.text = ""; m_ProcedureLogin = (ProcedureLogin)userData; if (m_ProcedureLogin == null) { Log.Warning("ProcedureMenu is invalid when open LoginFrom."); return; } //GameEntry.UI.GetUIForm(UIFormId.ConnectForm).Close(); }
protected internal override void OnClose(object userData) { m_ProcedureLogin = null; base.OnClose(userData); }