Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | ChangeColor (Color color) |
MEGUIParameter | Create (BaseAPField field, Transform parent, string name=null) |
Creates an intance of the ui paramter. More... | |
virtual void | Display () |
virtual void | DisplayGAP () |
Initalize the GAP, this is the entry point for the GAP in this parameter More... | |
virtual string | GetGroupName () |
virtual ConfigNode | GetState () |
void | HideColor () |
virtual void | OnHistoryPinned (ConfigNode data, HistoryType type) |
void | OnParameterReset () |
Resets the value of this parameter to the defaultValue attribute or if defaultValue is not set reset the parameter to it inital state. More... | |
virtual void | OnPointerEnter (PointerEventData eventData) |
Event triggered on pointer enter this gameobject rect More... | |
virtual void | OnPointerExit (PointerEventData eventData) |
Event triggered on pointer leave this gameobject rect More... | |
virtual void | RefreshUI () |
Refresh the UI display based on the field value More... | |
void | RemoveParameterByGroup (string group) |
Used to removed fields grouped More... | |
virtual void | Select () |
Set this parameter to be selected More... | |
void | SetTooltipActive (bool state) |
void | SetTooltipText (string newText) |
void | ShowColor () |
virtual void | UnSelect () |
Set this parameter to be unselected More... | |
Public Attributes | |
GameObject | gapDisplayIndicator |
Indicates that the parameter has a gap display More... | |
bool | isSelectable = true |
Can this parameter be selected More... | |
MEGUIParameterGroup | parentGroup |
The group this parameter is nested on More... | |
Toggle | pinToggle |
Toggle that specifies if this parameter is pinned to the node body More... | |
Button | resetButton |
Button used to reset this parameter More... | |
Image | selectedIndicator |
Image used to display the control selected state More... | |
TextMeshProUGUI | title |
Title of this paremeter More... | |
Protected Member Functions | |
virtual void | Awake () |
virtual void | LockLocalizedText () |
To lock the UI for editing when autoLOC's are used More... | |
virtual void | OnEnable () |
void | OnPinValueChanged (bool state) |
virtual void | ResetDefaultValue (string value) |
Reset to default value based on an attribute value More... | |
virtual void | Setup (string name) |
virtual void | Start () |
virtual void | Update () |
void | UpdateNodeBodyUI () |
Protected Attributes | |
BaseAPField | field |
RectTransform | gapDisplayPartner = null |
The rect that will have its right value changed when the GAPIcon is shown More... | |
bool | isPinned = false |
IMENodeDisplay | module |
CanvasGroup | pinCanvasGroup |
TooltipController_Text | tooltipComponent |
The Tooltip controller inside this parameter More... | |
Properties | |
bool | GroupStartCollapsed [get] |
Start this group collapsed in the SAP More... | |
bool | HasGAP [get] |
Does this parameter has a gap display More... | |
virtual bool | IsInteractable [get, set] |
Returns if this parameter is interactable More... | |
bool | isMouseOver [get, set] |
Has this parameter mouse over More... | |
bool | IsPinnable [get] |
bool | IsSelected [get, set] |
Returns if this parameter is selected More... | |
int | Order [get, set] |
Order index for this param in the SAP display More... | |
bool | TabStop [get, set] |
string | Tooltip [get] |
|
inlineprotectedvirtual |
Reimplemented in Expansions.Missions.Editor.MEGUIParameterVesselPartSelector.
|
inline |
|
inline |
Creates an intance of the ui paramter.
field | BaseField attribute value. |
parent | Transform where the instance is created. |
|
inlinevirtual |
Reimplemented in Expansions.Missions.Editor.MEGUIParameterVesselDropdownList, Expansions.Missions.Editor.MEGUICompoundParameter, Expansions.Missions.Editor.MEGUIParameterVesselSituation, Expansions.Missions.Editor.MEGUIParameterVesselLocation, Expansions.Missions.Editor.MEGUIParameterSwitchCompound, Expansions.Missions.Editor.MEGUIParameterNodeDropdownList, Expansions.Missions.Editor.MEGUIParameterGroup, Expansions.Missions.Editor.MEGUIParameterAsteroidDropdownList, Expansions.Missions.Editor.MEGUIParameterCometDropdownList, Expansions.Missions.Editor.MEGUIParameterFlagDropdownList, Expansions.Missions.Editor.MEGUIParameterMissionKerbal, and Expansions.Missions.Editor.MEGUIParameterLaunchSiteSituation.
|
inlinevirtual |
Initalize the GAP, this is the entry point for the GAP in this parameter
Reimplemented in Expansions.Missions.Editor.MEGUIParameterDropdownList, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Volume, Expansions.Missions.Editor.MEGUIParameterVesselDropdownList, Expansions.Missions.Editor.MEGUIParameterVesselPartSelector, Expansions.Missions.Editor.MEGUIParameterCelestialBody_VesselGroundLocation, Expansions.Missions.Editor.MEGUIParameterMissionInstructor, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Area, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Biomes, Expansions.Missions.Editor.MEGUIParameterMissionKerbal, Expansions.Missions.Editor.MEGUIParameterPartPicker, Expansions.Missions.Editor.MEGUIParameterCelestialBodyOrbit, Expansions.Missions.Editor.MEGUIParameterCelestialBody, Expansions.Missions.Editor.MEGUIParameterComet, and Expansions.Missions.Editor.MEGUIParameterAsteroid.
|
inlinevirtual |
|
inlinevirtual |
Implements Expansions.Missions.Editor.IMEHistoryTarget.
Reimplemented in Expansions.Missions.Editor.MEGUIParameterVesselSituation, Expansions.Missions.Editor.MEGUIParameterDynamicModuleList, Expansions.Missions.Editor.MEGUIParameterDropdownList, Expansions.Missions.Editor.MEGUIParameterGameParameters, Expansions.Missions.Editor.MEGUIParameterVesselLocation, Expansions.Missions.Editor.MEGUIParameterCelestialBodyOrbit, Expansions.Missions.Editor.MEGUIParameterVesselPartSelector, Expansions.Missions.Editor.MEGUIParameterPartPicker, Expansions.Missions.Editor.MEGUIParameterLaunchSiteSituation, and Expansions.Missions.Editor.MEGUIParameterColorPicker.
|
inline |
|
inlineprotectedvirtual |
To lock the UI for editing when autoLOC's are used
Reimplemented in Expansions.Missions.Editor.MEGUIParameterInputField, and Expansions.Missions.Editor.MEGUIParameterTextArea.
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inline |
Resets the value of this parameter to the defaultValue attribute or if defaultValue is not set reset the parameter to it inital state.
|
inlineprotected |
|
inlinevirtual |
Event triggered on pointer enter this gameobject rect
eventData |
|
inlinevirtual |
Event triggered on pointer leave this gameobject rect
eventData |
|
inlinevirtual |
Refresh the UI display based on the field value
Reimplemented in Expansions.Missions.Editor.MEGUIParameterNumberRange, Expansions.Missions.Editor.MEGUIParameterDropdownList, Expansions.Missions.Editor.MEGUIParameterVesselDropdownList, Expansions.Missions.Editor.MEGUIParameterNodeDropdownList, Expansions.Missions.Editor.MEGUIParameterVesselPartSelector, Expansions.Missions.Editor.MEGUIParameterInputField, Expansions.Missions.Editor.MEGUIParameterCelestialBodyOrbit, Expansions.Missions.Editor.MEGUIParameterDynamicModuleList, Expansions.Missions.Editor.MEGUIParameterTextArea, Expansions.Missions.Editor.MEGUIParameterAsteroidDropdownList, Expansions.Missions.Editor.MEGUIParameterCometDropdownList, Expansions.Missions.Editor.MEGUIParameterFlagDropdownList, Expansions.Missions.Editor.MEGUIParameterPartPicker, Expansions.Missions.Editor.MEGUIParameterCrewList, Expansions.Missions.Editor.MEGUIParameterCheckbox, Expansions.Missions.Editor.MEGUIParameterColorPicker, and Expansions.Missions.Editor.MEGUIParameterLabel.
|
inline |
Used to removed fields grouped
group |
|
inlineprotectedvirtual |
Reset to default value based on an attribute value
value |
Reimplemented in Expansions.Missions.Editor.MEGUIParameterNumberRange, Expansions.Missions.Editor.MEGUIParameterDropdownList, Expansions.Missions.Editor.MEGUIParameterVesselDropdownList, Expansions.Missions.Editor.MEGUIParameterNodeDropdownList, Expansions.Missions.Editor.MEGUIParameterVesselPartSelector, Expansions.Missions.Editor.MEGUIParameterInputField, Expansions.Missions.Editor.MEGUIParameterTextArea, Expansions.Missions.Editor.MEGUIParameterPartPicker, Expansions.Missions.Editor.MEGUIParameterCrewList, Expansions.Missions.Editor.MEGUIParameterCheckbox, Expansions.Missions.Editor.MEGUIParameterColorPicker, and Expansions.Missions.Editor.MEGUIParameterGameParameters.
|
inlinevirtual |
Set this parameter to be selected
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in Expansions.Missions.Editor.MEGUIParameterNumberRange, Expansions.Missions.Editor.MEGUIParameterDropdownList, Expansions.Missions.Editor.MEGUIParameterGroup, Expansions.Missions.Editor.MEGUICompoundParameter, Expansions.Missions.Editor.MEGUIParameterVesselPartSelector, Expansions.Missions.Editor.MEGUIParameterNodeDropdownList, Expansions.Missions.Editor.MEGUIParameterScoreRangeList, Expansions.Missions.Editor.MEGUIParameterPartPicker, Expansions.Missions.Editor.MEGUIFooterAdditionalButton, Expansions.Missions.Editor.MEGUIParameterDynamicModuleList, Expansions.Missions.Editor.MEGUIParameterInputField, Expansions.Missions.Editor.MEGUIParameterLabel, Expansions.Missions.Editor.MEGUIParameterVesselDropdownList, Expansions.Missions.Editor.MEGUIParameterTextArea, Expansions.Missions.Editor.MEGUIParameterCrewList, Expansions.Missions.Editor.MEGUIParameterListOrder, Expansions.Missions.Editor.MEGUIParameterCheckbox, Expansions.Missions.Editor.MEGUIParameterButton, Expansions.Missions.Editor.MEGUIParameterDynamicModule, Expansions.Missions.Editor.MEGUIParameterCelestialBodyOrbit, Expansions.Missions.Editor.MEGUIParameterVessel, Expansions.Missions.Editor.MEGUIParameterColorPicker, Expansions.Missions.Editor.MEGUIParameterGameParameters, Expansions.Missions.Editor.MEGUIParameterAsteroidDropdownList, Expansions.Missions.Editor.MEGUIParameterCometDropdownList, Expansions.Missions.Editor.MEGUIParameterFlagDropdownList, Expansions.Missions.Editor.MEGUIParameterScrollViewSelector, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Volume, Expansions.Missions.Editor.MEGUIParameterTime, Expansions.Missions.Editor.MEGUIParameterMissionKerbal, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Area, Expansions.Missions.Editor.MEGUIParameterMissionInstructor, Expansions.Missions.Editor.MEGUIParameterQuaternion, Expansions.Missions.Editor.MEGUIParameterCelestialBody, Expansions.Missions.Editor.MEGUIParameterCelestialBody_Biomes, Expansions.Missions.Editor.MEGUIParameterAwardModule, Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList, and Expansions.Missions.Editor.MEGUIParameterNodeLabelNodeDropdownList.
|
inline |
|
inlineprotectedvirtual |
Reimplemented in Expansions.Missions.Editor.MEGUIParameterAsteroid, and Expansions.Missions.Editor.MEGUIParameterComet.
|
inlinevirtual |
Set this parameter to be unselected
|
inlineprotectedvirtual |
|
inlineprotected |
|
protected |
GameObject Expansions.Missions.Editor.MEGUIParameter.gapDisplayIndicator |
Indicates that the parameter has a gap display
|
protected |
The rect that will have its right value changed when the GAPIcon is shown
|
protected |
bool Expansions.Missions.Editor.MEGUIParameter.isSelectable = true |
Can this parameter be selected
|
protected |
MEGUIParameterGroup Expansions.Missions.Editor.MEGUIParameter.parentGroup |
The group this parameter is nested on
|
protected |
Toggle Expansions.Missions.Editor.MEGUIParameter.pinToggle |
Toggle that specifies if this parameter is pinned to the node body
Button Expansions.Missions.Editor.MEGUIParameter.resetButton |
Button used to reset this parameter
Image Expansions.Missions.Editor.MEGUIParameter.selectedIndicator |
Image used to display the control selected state
TextMeshProUGUI Expansions.Missions.Editor.MEGUIParameter.title |
Title of this paremeter
|
protected |
The Tooltip controller inside this parameter
|
get |
Start this group collapsed in the SAP
|
get |
Does this parameter has a gap display
|
getset |
Returns if this parameter is interactable
|
getset |
Has this parameter mouse over
|
get |
|
getset |
Returns if this parameter is selected
|
getset |
Order index for this param in the SAP display
|
getset |
|
get |