Example #1
0
 protected internal override void OnClose(object userData)
 {
     m_ProcedureMenu = null;
     GameEntry.PromotionalVideo.RemoveTimer();
     //image.SetActive(false);
     base.OnClose(userData);
 }
Example #2
0
        protected internal 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;
            }
            GameEntry.PromotionalVideo.StartTimer();
            //onlineMode.AddClick(startGame);
            //friendMode.AddClick(battle);
        }