protected internal override void OnClose(object userData)
#endif
        {
            m_ProcedureBattle = null;

            base.OnClose(userData);
        }
        protected internal override void OnOpen(object userData)
#endif
        {
            base.OnOpen(userData);

            m_ProcedureBattle = (ProcedureBattle)userData;
            if (m_ProcedureBattle == null)
            {
                Log.Warning("ProcedureMenu is invalid when open MenuForm.");
                return;
            }
        }
Example #3
0
        protected internal override void OnOpen(object userData)
#endif
        {
            base.OnOpen(userData);

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

            //m_QuitButton.SetActive(Application.platform != RuntimePlatform.IPhonePlayer);
        }