Kerbal Space Program
1.12.4
|
Public Member Functions | |
override GameObject | Create (ref Stack< Transform > layouts, UISkinDef skin) |
DialogGUISlider (Func< float > setValue, float min, float max, bool wholeNumbers, float width, float height, UnityEngine.Events.UnityAction< float > setCallback) | |
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) |
Public Attributes | |
UnityEngine.Events.UnityAction < float > | actionCallback = (float f) => { } |
float | max |
float | min |
Func< float > | setValue = () => { return 0.0f; } |
UnityEngine.UI.Slider | slider = null |
bool | wholeNumbers = true |
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 |
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) |
Protected Member Functions inherited from DialogGUIBase | |
virtual TMPro.TextMeshProUGUI | GetTextObject () |
void | SetupTransformAndLayout () |
Protected Attributes inherited from DialogGUIBase | |
bool | dirty = true |
bool | lastEnabledState = false |
bool | lastInteractibleState = true |
Properties inherited from DialogGUIBase | |
bool | Dirty [get, set] |
|
inline |
|
inlinevirtual |
Reimplemented from DialogGUIBase.
|
inlinevirtual |
Reimplemented from DialogGUIBase.
UnityEngine.Events.UnityAction<float> DialogGUISlider.actionCallback = (float f) => { } |
float DialogGUISlider.max |
float DialogGUISlider.min |
Func<float> DialogGUISlider.setValue = () => { return 0.0f; } |
UnityEngine.UI.Slider DialogGUISlider.slider = null |
bool DialogGUISlider.wholeNumbers = true |