Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
KSP.UI.UISelectableGridLayoutGroupItem Class Reference
Inheritance diagram for KSP.UI.UISelectableGridLayoutGroupItem:
KSP.UI.Screens.EditorActionControllerHeader KSP.UI.Screens.EditorActionControllerOpenButton KSP.UI.Screens.EditorActionGroup_Base KSP.UI.Screens.EditorActionOverrideGroup KSP.UI.Screens.EditorActionOverrideToggle KSP.UI.Screens.EditorActionPartItem KSP.UI.Screens.EditorActionPartReset KSP.UI.Screens.EditorActionTitleItem

Public Member Functions

virtual void Deselect ()
 
virtual void Select ()
 
virtual void Setup (UISelectableGridLayoutGroup selectableGroup, int index)
 

Public Attributes

Color colorDeselected = Color.gray
 
Color colorSelected = Color.green
 
bool groupAction
 Is this a group action item? More...
 
Transform itemParent
 Parent reference if this class is not at the top of the rpefab or item hierarchy. More...
 
int mySetIndex
 The index of the set this item belongs to. More...
 

Properties

int Index [get]
 
Selectable SelectableComponent [get]
 Fetch the selectable READ ONLY More...
 

Member Function Documentation

virtual void KSP.UI.UISelectableGridLayoutGroupItem.Deselect ( )
inlinevirtual
virtual void KSP.UI.UISelectableGridLayoutGroupItem.Select ( )
inlinevirtual
virtual void KSP.UI.UISelectableGridLayoutGroupItem.Setup ( UISelectableGridLayoutGroup  selectableGroup,
int  index 
)
inlinevirtual

Member Data Documentation

Color KSP.UI.UISelectableGridLayoutGroupItem.colorDeselected = Color.gray
Color KSP.UI.UISelectableGridLayoutGroupItem.colorSelected = Color.green
bool KSP.UI.UISelectableGridLayoutGroupItem.groupAction

Is this a group action item?

Transform KSP.UI.UISelectableGridLayoutGroupItem.itemParent

Parent reference if this class is not at the top of the rpefab or item hierarchy.

int KSP.UI.UISelectableGridLayoutGroupItem.mySetIndex

The index of the set this item belongs to.

Property Documentation

int KSP.UI.UISelectableGridLayoutGroupItem.Index
get
Selectable KSP.UI.UISelectableGridLayoutGroupItem.SelectableComponent
get

Fetch the selectable READ ONLY

Returns
this UI item Selectable component.

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