class MAGES::Editor::MAGESPanelConfigurationPage¶
Overview¶
A page to check the general configuration of Unity in order to use MAGES. More…
class MAGESPanelConfigurationPage: public MAGES::Editor::BaseMAGESPanelPage { public: // classes class TitleContent; // properties override VisualElement Title; override int Order; override SideNavigationBarPlacement NavigationBarPlacement; override bool ShowBundleSelectionUI; // methods virtual override void Initialize(MAGESPanel panel); virtual override bool TrySelect(Bundle bundle); virtual override VisualElement CreateGUI(Bundle selectedBundle); };
Inherited Members¶
public: // enums enum SideNavigationBarPlacement; // properties bool Visible; abstract VisualElement Title; SideNavigationBarPlacement NavigationBarPlacement; int Order; bool ShowBundleSelectionUI; bool RequiresBundleSelection; // methods virtual void Initialize(MAGESPanel panel); virtual bool TrySelect(Bundle selectedBundle); virtual VisualElement CreateGUI(Bundle selectedBundle); virtual void Deselect(); virtual void Destroy(); virtual void OnSelectedBundleChanged(Bundle newSelection);
Detailed Documentation¶
A page to check the general configuration of Unity in order to use MAGES.
Properties¶
override bool ShowBundleSelectionUI
Gets a value indicating whether should this page be shown in the bundle.
Methods¶
virtual override void Initialize(MAGESPanel panel)
Called when the MAGES Panel is opened.
Parameters:
panel |
The panel that initialized this page. |
virtual override bool TrySelect(Bundle bundle)
Called when the user clicks on this page’s button in the MAGES Panel side navigation.
Parameters:
selectedBundle |
The selected bundle in the panel. |
Returns:
true
if the page can be selected.
virtual override VisualElement CreateGUI(Bundle selectedBundle)
Called after being selected to show the page’s GUI.
Parameters:
selectedBundle |
The selected bundle in the panel. |
Returns:
The Page’s GUI.