This class defines the behaviour of an Mission Editor panel, panels are subwindows of the ME that can be resized, hided or maximized in the screen
More...
This class defines the behaviour of an Mission Editor panel, panels are subwindows of the ME that can be resized, hided or maximized in the screen
Defines where is the window moving from
Enumerator |
---|
Left |
|
Right |
|
Top |
|
Bottom |
|
None |
|
Defines the panel size values style, absoulte screen pixels or normalized values
Enumerator |
---|
Absolute |
|
Normalized |
|
Defines the panel state
Enumerator |
---|
Normal |
|
Hidden |
|
Maximized |
|
void Expansions.Missions.Editor.MEGUIPanel.Hide |
( |
bool |
enableUI = false | ) |
|
|
inline |
Hides this panel
- Parameters
-
enableUI | Specifies whatever or not the UI Buttons should be activaded |
void Expansions.Missions.Editor.MEGUIPanel.Maximize |
( |
| ) |
|
|
inline |
void Expansions.Missions.Editor.MEGUIPanel.OnMaximizeValueChange |
( |
bool |
value | ) |
|
|
inlineprotected |
void Expansions.Missions.Editor.MEGUIPanel.OnVisibilityValueChange |
( |
bool |
value | ) |
|
|
inlineprotected |
void Expansions.Missions.Editor.MEGUIPanel.RebuildPanelLayout |
( |
| ) |
|
|
inline |
Rebuild the layout and child layout elements afected by calculations
void Expansions.Missions.Editor.MEGUIPanel.Reset |
( |
| ) |
|
|
inline |
Reset the panels to the default state
void Expansions.Missions.Editor.MEGUIPanel.Restore |
( |
| ) |
|
|
inline |
Restore this panel to it's previous size
void Expansions.Missions.Editor.MEGUIPanel.Show |
( |
bool |
enableUI = false | ) |
|
|
inline |
Shows this panel
- Parameters
-
enableUI | Specifies whatever or not the UI Buttons should be activaded |
IEnumerator Expansions.Missions.Editor.MEGUIPanel.VisibilityHideAnimation |
( |
| ) |
|
|
inlineprotected |
Slide animation coroutine that changes the panel visibility to hidden
- Returns
IEnumerator Expansions.Missions.Editor.MEGUIPanel.VisibilityShowAnimation |
( |
| ) |
|
|
inlineprotected |
Slide animation coroutine that changes the panel visibility to normal
- Returns
PanelAnchor Expansions.Missions.Editor.MEGUIPanel.Anchor |
Specifies the panel anchor position within the ME
List<MEGUIPanel> Expansions.Missions.Editor.MEGUIPanel.childPanels |
|
protected |
List of child panels of this panel
RectTransform Expansions.Missions.Editor.MEGUIPanel.ContentRoot |
Root transform where this panel content is located
List<MEGUIPanel> Expansions.Missions.Editor.MEGUIPanel.hiddenPanels |
|
protected |
List of panels references that were hidden during the maximize
MEGUIPanel [] Expansions.Missions.Editor.MEGUIPanel.HideOnMaximize |
Array of panels that should hide in order for this panel to be maximized
bool Expansions.Missions.Editor.MEGUIPanel.isMoving = false |
|
protected |
Specifies wherever the panel is moving to a show <-> hide state
LayoutElement Expansions.Missions.Editor.MEGUIPanel.layoutElement |
|
protected |
float Expansions.Missions.Editor.MEGUIPanel.maxHeight |
RectTransform Expansions.Missions.Editor.MEGUIPanel.MaximizeParent |
Transform of the parent where the panel should move on maximize
Toggle Expansions.Missions.Editor.MEGUIPanel.MaximizeToggle |
float Expansions.Missions.Editor.MEGUIPanel.maxWidth |
float Expansions.Missions.Editor.MEGUIPanel.minHeight |
float Expansions.Missions.Editor.MEGUIPanel.minWidth |
RectTransform Expansions.Missions.Editor.MEGUIPanel.parent |
|
protected |
float Expansions.Missions.Editor.MEGUIPanel.preferredHeight |
float Expansions.Missions.Editor.MEGUIPanel.preferredWidth |
Specifies the style of the size values stored in the panel min, preferred, max values.
Toggle Expansions.Missions.Editor.MEGUIPanel.VisibilityToggle |
float Expansions.Missions.Editor.MEGUIPanel.CurrentHeight |
|
getset |
Gets the current height of this panel, or zero if this axis is auto adjusted
float Expansions.Missions.Editor.MEGUIPanel.CurrentWidth |
|
getset |
Gets the current width of this panel, or zero if this axis is auto adjusted
PanelState Expansions.Missions.Editor.MEGUIPanel.State |
|
getset |
The documentation for this class was generated from the following file:
- KSP/Assets/Expansions/Missions/_UI5/Screens/MissionEditorScreen/Scripts/MEGUIPanel.cs