Kerbal Space Program
1.12.4
|
Public Member Functions | |
override GameObject | Create (ref Stack< Transform > layouts, UISkinDef skin) |
DialogGUIToggleButton (bool set, string lbel, Callback< bool > selected, float w=-1f, float h=1f) | |
DialogGUIToggleButton (Func< bool > set, string lbel, Callback< bool > selected, float w=-1f, float h=1f) | |
Public Member Functions inherited from DialogGUIToggle | |
DialogGUIToggle (bool set, string lbel, Callback< bool > selected, float w=-1f, float h=-1f) | |
DialogGUIToggle (bool set, Func< string > lbel, Callback< bool > selected, float w=-1f, float h=-1f) | |
DialogGUIToggle (Func< bool > set, string lbel, Callback< bool > selected, float w=-1f, float h=-1f) | |
DialogGUIToggle (Func< bool > set, Func< string > lbel, Callback< bool > selected, float w=-1f, float h=-1f) | |
DialogGUIToggle (Func< bool > set, Func< UnityEngine.Sprite > checkSet, Callback< bool > selected, UnityEngine.Sprite overImage, float w=-1f, float h=-1f) | |
override void | Update () |
Public Member Functions inherited from DialogGUIBase | |
void | AddChild (DialogGUIBase child) |
void | AddChildren (DialogGUIBase[] c) |
DialogGUIBase (params DialogGUIBase[] list) | |
virtual void | Resize () |
void | SetOptionText (string text) |
Additional Inherited Members | |
Static Public Member Functions inherited from DialogGUIBase | |
static bool | SelectFirstItem (DialogGUIBase[] items) |
static void | SetUpTextObject (TMPro.TextMeshProUGUI text, string value, UIStyle style, UISkinDef skin, bool ignoreStyleColor=false) |
Public Attributes inherited from DialogGUIToggle | |
string | label |
Callback< bool > | onToggled = (bool b) => { } |
UnityEngine.Sprite | overlayImage = null |
Func< UnityEngine.Sprite > | setCheck = null |
Func< string > | setLabel = null |
bool | setting |
Func< bool > | setValue = null |
Toggle | toggle |
Public Attributes inherited from DialogGUIBase | |
List< DialogGUIBase > | children = new List<DialogGUIBase>() |
bool | flexibleHeight = true |
UIStyle | guiStyle = null |
float | height = -1.0f |
Callback | OnFixedUpdate = () => { } |
Callback | OnLateUpdate = () => { } |
Callback | OnRenderObject = () => { } |
Callback | OnResize = () => { } |
Callback | OnUpdate = () => { } |
Func< bool > | OptionEnabledCondition = () => { return true; } |
Func< bool > | OptionInteractableCondition = () => { return true; } |
string | OptionText = "No Function" |
Vector2 | position |
Vector2 | size = new Vector2(-1f, -1f) |
Color | tint |
string | tooltipText |
GameObject | uiItem = null |
bool | useColor = false |
float | width = -1.0f |
Protected Member Functions inherited from DialogGUIBase | |
virtual TMPro.TextMeshProUGUI | GetTextObject () |
void | SetupTransformAndLayout () |
Protected Attributes inherited from DialogGUIToggle | |
TMPro.TextMeshProUGUI | textItem |
Protected Attributes inherited from DialogGUIBase | |
bool | dirty = true |
bool | lastEnabledState = false |
bool | lastInteractibleState = true |
Properties inherited from DialogGUIBase | |
bool | Dirty [get, set] |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from DialogGUIToggle.