protected internal override void OnOpen(object userData) { hours = 1; base.OnOpen(userData); Application.runInBackground = true; m_procedureLogin = (ProcedureFunction)userData; id.text = GameEntry.GameData.userData.id; username.text = GameEntry.GameData.WxName; threeD.AddClick(openQR); start.AddClick(begin); quit.AddClick(close); closeqr.AddClick(closeQR); plus.AddClick(addHours); sub.AddClick(remHours); yesBtn.AddClick(confirmNchange); friendMode.AddClick(battle); onlineMode.AddClick(startgame); backF.AddClick(backf); }
protected internal override void OnClose(object userData) { m_procedureLogin = null; gamemode.SetActive(false); base.OnClose(userData); }