Kerbal Space Program
1.12.4
|
This class represents a suit type in the helmet suit picker window. On click, it will apply the selections into its proto crew. More...
Public Types | |
enum | EVAHelmetNeckRingState { EVAHelmetNeckRingState.HelmetNeckRingOn, EVAHelmetNeckRingState.OnlyNeckRingOn, EVAHelmetNeckRingState.HelmetNeckRingOff } |
Public Member Functions | |
void | GenerateButtonName (string kerbalName, string suitType) |
void | OnButtonClicked () |
void | OnPointerEnter (PointerEventData eventData) |
void | OnPointerExit (PointerEventData eventData) |
void | Reset () |
void | Select () |
Public Attributes | |
int | buttonIndex |
Helmet/suit picker window suit button identifier. More... | |
ComboSelector | comboSelector |
Holds the reference to this button combo selector. More... | |
EVAHelmetNeckRingState | evaHelmetNeckRingState |
The helmet state for this suit button. More... | |
int | helmetNeckRingIndex = 0 |
Holds a reference to the helmet state. More... | |
RawImage | thumbImg |
References the thumbnail image preview. More... | |
Properties | |
TMPro.TextMeshProUGUI | ComboName [get] |
Button | HelmetNeckRingButton [get] |
Sprite[] | HelmetNeckRingState [get] |
int | HelmetStates [get] |
Count of available helmet states. More... | |
KerbalPreview | KerbalPreview [get, set] |
References the Kerbal object used to preview the suit selection. More... | |
ProtoCrewMember.KerbalSuit | KerbalSuit [get, set] |
References the suit type this suit button belongs to. More... | |
SuitLightColorPicker | SuitLightColorPicker [get] |
References its suit light color picker tool. More... | |
This class represents a suit type in the helmet suit picker window. On click, it will apply the selections into its proto crew.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int SuitButton.buttonIndex |
Helmet/suit picker window suit button identifier.
ComboSelector SuitButton.comboSelector |
Holds the reference to this button combo selector.
EVAHelmetNeckRingState SuitButton.evaHelmetNeckRingState |
The helmet state for this suit button.
int SuitButton.helmetNeckRingIndex = 0 |
Holds a reference to the helmet state.
RawImage SuitButton.thumbImg |
References the thumbnail image preview.
|
get |
|
get |
|
get |
|
get |
Count of available helmet states.
|
getset |
References the Kerbal object used to preview the suit selection.
|
getset |
References the suit type this suit button belongs to.
|
get |
References its suit light color picker tool.