Exemplo n.º 1
0
        public void RegisterInMainMenu()
        {
            if (m_mainMenuEntry != null)
            {
                return;
            }

            m_mainMenuEntry = MainMenu.Instance.menuBar.RegisterMenuEntry(this.windowName, m_sortPriorityForMainMenu,
                                                                          this.OnButtonClickedInMainMenu);
        }
Exemplo n.º 2
0
 public void    RegisterButtonInPauseMenu()
 {
     m_pauseMenuEntry = PauseMenu.Instance.menuBar.RegisterMenuEntry(this.windowName, 0,
                                                                     this.OnButtonClickedInPauseMenu);
 }