Skip to content

MainMenu

Graydon edited this page Mar 21, 2017 · 5 revisions

public class MainMenu

Base Class: MenuPanel

Fields

private UIComponent m_ContinueButton
private UIComponent m_NewGameButton
private UIComponent m_LoadGameButton
public UIComponent m_ToolsMenu
public List<string> m_MenuItems
public UIComponent m_MenuContainer
public UIComponent m_CreditsScroller
public ParadoxAccountLogin m_ParadoxPanel
public UITextureSprite m_BackgroundImage
private UIComponent m_MenuPanel
private UIComponent m_NewsFeedPanel
private UIComponent m_WorkshopPanel
private bool m_ParadoxPanelWasVisibleBeforeCredits
public static UIComponent m_CurrentlyActiveMenu
public static UIComponent m_MainMenu
private const string kMainMenuButtonTemplate = MainMenuButtonTemplate

Methods

protected void Awake()
public static void SetFocus()
private void OnDestroy()
private void OnPackagesChanged()
private void OnEnable()
private void OnDisable()
public void OnVisibilityChanged(UIComponent comp, bool visible)
private void OnLocaleChanged()
private void Refresh(bool firstTime)
protected void OnClick(UIComponent comp, UIMouseEventParameter p)
private void Continue()
public void OnKeyDown(UIComponent comp, UIKeyEventParameter p)
private void Exit()
private void NewGame()
private void LoadGame()
private void Options()
private void ContentManager()
public void ModsManager()
public void OnStoreClick()
protected void Tools()
public void CreditsEnded()
private void Credits()
private void OnNewGamePanelClosed(UIComponent comp)
private void OnOptionPanelClosed(UIComponent comp)
public void OnLoadPanelClosed(UIComponent comp, int ret)

Clone this wiki locally