![]() |
Kerbal Space Program
1.12.4
|
Public Member Functions | |
| override GameObject | Create (ref Stack< Transform > layouts, UISkinDef skin) |
| DialogGUIScrollList (Vector2 size, bool hScroll, bool vScroll, DialogGUILayoutBase layout) | |
| DialogGUIScrollList (Vector2 size, Vector2 contentSize, bool hScroll, bool vScroll, DialogGUILayoutBase layout) | |
| New DialogGUIScrollList Object More... | |
| override void | Resize () |
| override void | Update () |
Public Member Functions inherited from DialogGUIBase | |
| void | AddChild (DialogGUIBase child) |
| void | AddChildren (DialogGUIBase[] c) |
| DialogGUIBase (params DialogGUIBase[] list) | |
| void | SetOptionText (string text) |
Public Attributes | |
| bool | hScrollBar |
| DialogGUILayoutBase | layout |
| bool | vScrollBar |
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 Attributes | |
| GameObject | content |
| Vector2 | contentSize |
| ScrollRect | scrollRect |
Protected Attributes inherited from DialogGUIBase | |
| bool | dirty = true |
| bool | lastEnabledState = false |
| bool | lastInteractibleState = true |
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 () |
Properties inherited from DialogGUIBase | |
| bool | Dirty [get, set] |
|
inline |
|
inline |
New DialogGUIScrollList Object
| size | The size of the control in the layout |
| contentSize | The size of the content - this may be bigger than the size if we have a scroll |
| hScroll | True to show a horizontal scrollbar |
| vScroll | True to show a vertical scrollbar |
| layout | The Layout to present |
|
inlinevirtual |
< Add after create for update function handling
Reimplemented from DialogGUIBase.
|
inlinevirtual |
Reimplemented from DialogGUIBase.
|
inlinevirtual |
Reimplemented from DialogGUIBase.
|
protected |
|
protected |
| bool DialogGUIScrollList.hScrollBar |
| DialogGUILayoutBase DialogGUIScrollList.layout |
|
protected |
| bool DialogGUIScrollList.vScrollBar |
1.8.7