示例#1
0
文件: MenuForm.cs 项目: unstephen/Q3
        protected internal override void OnClose(object userData)
#endif
        {
            m_ProcedureMenu = null;

            base.OnClose(userData);
        }
示例#2
0
文件: MenuForm.cs 项目: unstephen/Q3
        protected internal override void OnOpen(object userData)
#endif
        {
            base.OnOpen(userData);

            m_ProcedureMenu = (ProcedureMenu)userData;
            if (m_ProcedureMenu == null)
            {
                Log.Warning("ProcedureMenu is invalid when open MenuForm.");
                return;
            }

            RoleData role = GameManager.Instance.GetRoleData();

            if (role != null)
            {
                role.token.SubscribeToText(Textrecv);
            }
            //            PlayerStateInit s = new PlayerStateInit();
            //            s.star
        }