Kerbal Space Program
1.12.4
|
Public Member Functions | |
MEGUIParameterGroup | AddParameterBlock (string headerName, string displayName, BaseAPFieldList fields, Transform parent, List< string > invalidGroups=null, string currentGroup="", bool parametersSelectable=true, int offset=0, int depth=0) |
Adds a block of parameter instances to the SAP pane in the MissionEditor. More... | |
void | CheckDeletedNodeFromGap (MENode node) |
check if GAP needs to be cleared and unlocked after the node has been deleted. More... | |
void | Clean () |
Clean the action pane SAP/GAP More... | |
void | ClearCache () |
Clears the parameter cache, destroying all the cached parameters prefabs More... | |
void | CurrentLockdeNode (MENode node) |
Store current node when the locked parameter is active More... | |
MEGUIParameterGroup | DisplayModuleHeader (string name, string displayName, BaseAPFieldList fields, Transform parent) |
Displays a module section header in the SAP, this is used as a separator More... | |
T | GAPInitialize< T > () |
Initialize or gets the reference to a GAP display More... | |
TMPro.TMP_InputField | GetNextInputTabStop (bool direction) |
We check the next or previus field we want to tab to More... | |
MEGUIParameter | GetParameterFromFieldID (string fieldID) |
Gets a parameter from the provided field id More... | |
void | InitializeGapMinHeight () |
Called when MissionBuilder starts and when the cache is cleaned. More... | |
void | RemoveParameterGroup (string group) |
Removes parameters from the currently selected Node More... | |
void | SAPDisplayConnectorParameters (MEGUIConnector connector) |
Displays the node connector parameters in the SAP More... | |
void | SAPDisplayMultipleSelectedItemsMessage (int nodesSelected, string itemName) |
void | SAPDisplayNodeParameters (MEGUINode node) |
Displays the node parameters in the SAP More... | |
void | SAPRefreshNodeParameters () |
Refreshes the node parameters displayed in the SAP More... | |
void | SavePreferedGapSize () |
This method checks that the gap cannot be minimized less than it's minimum height size More... | |
void | ScrollBar (float value) |
void | ScrollPanel (float height) |
void | UpdateSAPScroll (UnityEngine.EventSystems.PointerEventData pointerData) |
A pass through method to scroll the SAP window from other sources More... | |
Public Attributes | |
MEGUIFooterAdditionalButton | FooterAdditionalButtonPrefab |
IconLoader | gapIconLoader |
Toggle | gapLockToggle |
GAP lock toggle control More... | |
MEGUIPanel | GAPPanel |
MEGUIParameterGroup | ParameterGroupPrefab |
MEGUIPanel | SAPPanel |
Static Public Attributes | |
static MEActionPane | fetch |
Protected Member Functions | |
void | DisplayModuleFooter (string name, BaseAPFieldList fields) |
Displays a footer parameter in the SAP, this connects to the IMENodeDisplay interface to get the list of available parameters More... | |
void | DisplayNodeModuleSection (IMENodeDisplay module) |
Display the fields/properties of the IMENodeDisplay module in the SAP More... | |
void | DisplayNodeSettingsSection (MENode node) |
Display the basic nodes settings in the SAP More... | |
MEGUIParameter | DisplayParameter (BaseAPField field, Transform parent, bool isSelectable) |
Displays a basefield in the SAP More... | |
void | OnGAPLockValueChange (bool value) |
The actions that occur when the GAP Lock UI is toggled More... | |
Protected Attributes | |
Transform | cacheTmpLocation |
Dictionary< string, MEGUIParameter > | currentParameterCache |
GameObject | gapIconLoaderPrefab |
Dictionary< MonoBehaviour, Dictionary< string, MEGUIParameter > > | parameterCache |
Properties | |
ActionPaneDisplay | CurrentGapDisplay [get, set] |
Current active GAP display More... | |
bool | IsGAPLocked [get, set] |
Returns if the GAP display is locked Note. this does not affect the parameter focus/selection behaviour More... | |
MEGUIParameter | SelectedSAPParameter [get, set] |
Currently selected parameter in the SAP, this parameter controls the GAP display More... | |
|
inline |
Adds a block of parameter instances to the SAP pane in the MissionEditor.
headerName | The name that will be displayed at the top of this block |
displayName | Display name on the Block as a Header |
fields | The fields to take the information for the paramter instances to be generated |
parent | The container of this parameter block (For nested blocks) |
invalidGroups | The parameter groups to be skipped in this block. |
currentGroup | The current block to be displayed, if it doesnt match it will skip them. By default its empty. |
parametersSelectable | Are the paramters in this block selectable? (For nested blocks) |
offset | The offset of this block in the SAP pane |
|
inline |
check if GAP needs to be cleared and unlocked after the node has been deleted.
|
inline |
Clean the action pane SAP/GAP
|
inline |
Clears the parameter cache, destroying all the cached parameters prefabs
|
inline |
Store current node when the locked parameter is active
node |
|
inlineprotected |
Displays a footer parameter in the SAP, this connects to the IMENodeDisplay interface to get the list of available parameters
name | |
fields |
|
inline |
Displays a module section header in the SAP, this is used as a separator
name | |
fields |
|
inlineprotected |
Display the fields/properties of the IMENodeDisplay module in the SAP
module |
|
inlineprotected |
Display the basic nodes settings in the SAP
node |
|
inlineprotected |
Displays a basefield in the SAP
field | Field or property to be displayed |
|
inline |
Initialize or gets the reference to a GAP display
T |
T | : | ActionPaneDisplay |
|
inline |
We check the next or previus field we want to tab to
direction |
|
inline |
Gets a parameter from the provided field id
fieldID |
|
inline |
Called when MissionBuilder starts and when the cache is cleaned.
|
inlineprotected |
The actions that occur when the GAP Lock UI is toggled
value |
|
inline |
Removes parameters from the currently selected Node
group | Used to look up for the Group parameters in any MEGUIParameter |
|
inline |
Displays the node connector parameters in the SAP
connector |
|
inline |
|
inline |
Displays the node parameters in the SAP
node | Node to be displayed |
|
inline |
Refreshes the node parameters displayed in the SAP
|
inline |
This method checks that the gap cannot be minimized less than it's minimum height size
|
inline |
|
inline |
|
inline |
A pass through method to scroll the SAP window from other sources
pointerData | The mouse data using the scroll focus |
|
protected |
|
protected |
|
static |
MEGUIFooterAdditionalButton Expansions.Missions.Editor.MEActionPane.FooterAdditionalButtonPrefab |
IconLoader Expansions.Missions.Editor.MEActionPane.gapIconLoader |
|
protected |
Toggle Expansions.Missions.Editor.MEActionPane.gapLockToggle |
GAP lock toggle control
MEGUIPanel Expansions.Missions.Editor.MEActionPane.GAPPanel |
|
protected |
MEGUIParameterGroup Expansions.Missions.Editor.MEActionPane.ParameterGroupPrefab |
MEGUIPanel Expansions.Missions.Editor.MEActionPane.SAPPanel |
|
getset |
Current active GAP display
|
getset |
Returns if the GAP display is locked Note. this does not affect the parameter focus/selection behaviour
|
getset |
Currently selected parameter in the SAP, this parameter controls the GAP display