Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
KSP.UI.UITreeViewItem Class Reference
Inheritance diagram for KSP.UI.UITreeViewItem:

Public Member Functions

void Setup (UITreeView treeView, UITreeView.Item treeViewItem, int level, string text, Action onSelect)
 
void Setup (UITreeView treeView, UITreeView.Item treeViewItem, int level, bool expandable, bool expanded, string text, Action onExpand, Action onSelect)
 

Public Attributes

Button backgroundButton
 
Color colorSelected = Color.white
 
Color colorUnselected = Color.white
 
Button expandButton
 
LayoutElement insetSpace
 
TMPro.TextMeshProUGUI label
 
float levelInsetSize
 
Action onExpand = null
 
Action onSelect = null
 
UnityEngine.Sprite spriteCollapsed
 
UnityEngine.Sprite spriteExpanded
 

Member Function Documentation

void KSP.UI.UITreeViewItem.Setup ( UITreeView  treeView,
UITreeView.Item  treeViewItem,
int  level,
string  text,
Action  onSelect 
)
inline
void KSP.UI.UITreeViewItem.Setup ( UITreeView  treeView,
UITreeView.Item  treeViewItem,
int  level,
bool  expandable,
bool  expanded,
string  text,
Action  onExpand,
Action  onSelect 
)
inline

Member Data Documentation

Button KSP.UI.UITreeViewItem.backgroundButton
Color KSP.UI.UITreeViewItem.colorSelected = Color.white
Color KSP.UI.UITreeViewItem.colorUnselected = Color.white
Button KSP.UI.UITreeViewItem.expandButton
LayoutElement KSP.UI.UITreeViewItem.insetSpace
TMPro.TextMeshProUGUI KSP.UI.UITreeViewItem.label
float KSP.UI.UITreeViewItem.levelInsetSize
Action KSP.UI.UITreeViewItem.onExpand = null
Action KSP.UI.UITreeViewItem.onSelect = null
UnityEngine.Sprite KSP.UI.UITreeViewItem.spriteCollapsed
UnityEngine.Sprite KSP.UI.UITreeViewItem.spriteExpanded

The documentation for this class was generated from the following file: