class MAGES::Editor::MAGESPanel

Overview

The MAGES Panel is a window that allows the user to login, manage the MAGES settings and easily the initial setup of a project. More…

class MAGESPanel: public EditorWindow
{
public:
    // classes

    class BundleAssetModificationProcessor;
    class BundleAssetRenameProcessor;

    // methods

    static void ShowPanel();
    bool SelectPage(System.Type page);
    void SelectBundle(Bundle bundle);
    void RefreshBundles();
    void SetSideNavigationBarCollapseState(bool collapse);
};

Detailed Documentation

The MAGES Panel is a window that allows the user to login, manage the MAGES settings and easily the initial setup of a project.

Methods

static void ShowPanel()

Show the MAGES Panel window.

bool SelectPage(System.Type page)

Shows the given page.

Parameters:

page

The page to show.

Returns:

True if the page was selected successfully.

void SelectBundle(Bundle bundle)

Selects the given bundle.

The bundle must be an asset. If the bundle is not found in the internal list of bundles the list will be refreshed.

Parameters:

bundle

The bundle to select.

void RefreshBundles()

Refreshes the list of bundles and updates dropdown UI.

void SetSideNavigationBarCollapseState(bool collapse)

Sets the side navigation bar collapse state.

Parameters:

collapse

Whether the side navigation should collapse or uncollapse.