Esempio n. 1
0
        protected override void OnOpen(object userData)
        {
            base.OnOpen(userData);

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

//            m_QuitButton.SetActive(Application.platform != RuntimePlatform.IPhonePlayer);
        }
Esempio n. 2
0
        protected override void OnClose(object userData)
        {
            m_ProcedureMenu = null;

            base.OnClose(userData);
        }