Esempio n. 1
0
        protected internal override void OnClose(object userData)
#endif
        {
            m_ProcedureMenu = null;

            base.OnClose(userData);
        }
Esempio n. 2
0
        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
        }