Ejemplo n.º 1
0
    void Start()
    {
        //===== INIT menu to fix flags
        menuPopup.Init();

        //===== Default states
        Popup_off();
    }
Ejemplo n.º 2
0
    //////////////////////////////////////////

    /// MENU INITIALIZATION

    //////////////////////////////////////////
    private void InitMenus()
    {
        // This is probably only needed for the IN GAME MENUs, but check all: in case their default states are not handled in Start
        menu_Dev.Init();
        menu_Config.Init();

        menu_Pause.Init();
        menu_EdgeInput.Init();
        menu_Painting.Init();
        menu_Building.Init();
        menu_Resources.Init();
        menu_Sound.Init();

        menu_Levels.Init();
        menu_LevelData.Init();

        // IN GAME MENUS
        menu_Build_InGame.Init();
    }