Kerbal Space Program
1.12.4
|
System attribute to specify a dropdown control More...
Public Attributes | |
bool | addDefaultOption |
string | defaultDisplayString |
float | GAPCameraDistance =1.0f |
The distance of the camera from the prefab in the GAP View (default is 1) More... | |
string | onDropDownValueChange |
Name of the method to be triggered on control value change More... | |
string | onGAPPrefabInstantiated |
Name of the method to be triggered when the prefab in the GAP Has been instantiated (useGAP has to be enabled, and SetGAPPrefab has to be defined for this to work) More... | |
string | SetDropDownItems |
Name of the method to be triggered on control value change More... | |
string | SetGAPPrefab |
Name of the method that sets a prefab in the GAP when the dropdown value changes.6 More... | |
Public Attributes inherited from Expansions.Missions.Editor.MEGUI_Control | |
bool | canBePinned |
Whether the parameter can be pinned for the node body More... | |
bool | canBeReset |
Whether the parameter can be reset More... | |
CheckpointValidationType | checkpointValidation |
Flag that set if this field should be skiped in the checkpoint validation process More... | |
string | compareValuesForCheckpoint |
[If checkpointValidation is set to CustomMethod] Name of the method to be triggered to validate if this field is dirty on a target checkpoint Usage if checkpointValue != fieldValue then the validation fails and a false return is expected, to set the checkpoint as dirty More... | |
bool | gapDisplay |
Specify if this control have a GAP display More... | |
string | group |
Used for fields that are meant to be grouped or related More... | |
string | groupDisplayName |
bool | groupStartCollapsed |
When true the group that this is part of will start collapsed More... | |
bool | hideOnSetup |
Set to true to hide this field's control during setup so it can be toggled on/off by other controls. More... | |
bool | hideWhenDocked |
Set to true to hide this field's control when it is docked to another node. More... | |
bool | hideWhenInputConnected |
Set to true to hide this field's control when the input of the node is connected to another node. More... | |
bool | hideWhenNoActionModules |
Set to true to hide this field's control when the the node has no action modules. More... | |
bool | hideWhenNoTestModules |
Set to true to hide this field's control when the the node has no test modules. More... | |
bool | hideWhenOutputConnected |
Set to true to hide this field's control when the output of the node is connected to another node. More... | |
bool | hideWhenSiblingsExist |
Set to true to hide this field's control when its inside a compound param and there are other controls alongside it More... | |
bool | hideWhenStartNode |
Set to true to hide this field's control when it's the Start Node or docked to the Start Node. More... | |
string | onControlCreated |
Name of the method to be triggered on control creation More... | |
string | onControlSetupComplete |
Name of the method to be triggered after control creation and setup is completed More... | |
string | onValueChange |
Name of the method to be triggered on value change More... | |
int | order |
Sort order index for this parameter in the SAP More... | |
string | resetValue |
Key to pass the ResetValue method when the reset button is pressed More... | |
bool | tabStop |
System attribute to specify a dropdown control
bool Expansions.Missions.Editor.MEGUI_Dropdown.addDefaultOption |
string Expansions.Missions.Editor.MEGUI_Dropdown.defaultDisplayString |
float Expansions.Missions.Editor.MEGUI_Dropdown.GAPCameraDistance =1.0f |
The distance of the camera from the prefab in the GAP View (default is 1)
string Expansions.Missions.Editor.MEGUI_Dropdown.onDropDownValueChange |
Name of the method to be triggered on control value change
Method signature is: private void OnDropDownValueChanged(MEGUIParameterDropdownList sender, int newIndex)
string Expansions.Missions.Editor.MEGUI_Dropdown.onGAPPrefabInstantiated |
Name of the method to be triggered when the prefab in the GAP Has been instantiated (useGAP has to be enabled, and SetGAPPrefab has to be defined for this to work)
Method signature is: private void OnGAPPrefabInsantiated(GameObject prefabInstance)
string Expansions.Missions.Editor.MEGUI_Dropdown.SetDropDownItems |
Name of the method to be triggered on control value change
Method signature is: private List<MEGUIDropDownItem> SetDropDownValues()
string Expansions.Missions.Editor.MEGUI_Dropdown.SetGAPPrefab |
Name of the method that sets a prefab in the GAP when the dropdown value changes.6
Method signature is: private GameObject SetGAPPrefab()