Dropdown Item in the list of a DropDownMenu. More...
Inherits tk2dUIBaseItemControl.
Static Public Member Functions | |
static void | ChangeGameObjectActiveState (GameObject go, bool isActive) |
Used for SetActive so easily works between Unity 3.x and Unity 4.x. | |
static void | ChangeGameObjectActiveStateWithNullCheck (GameObject go, bool isActive) |
Changes active state, but first checks to make sure it isn't null. | |
Public Attributes | |
tk2dTextMesh | label |
Text Label for dropdown Item. | |
float | height |
Visible height of this ui item, used for vertical spacing. | |
tk2dUIUpDownHoverButton | upDownHoverBtn |
Button used for hovers. | |
tk2dUIItem | uiItem |
Button(uiItem) for this control. | |
Properties | |
int | Index [get, set] |
Which item in the list is this (0-index) | |
string | LabelText [get, set] |
Auto sets the label text (does commit) | |
Events | |
System.Action< tk2dUIDropDownItem > | OnItemSelected |
Event on this item being selected. |
Dropdown Item in the list of a DropDownMenu.
static void tk2dUIBaseItemControl.ChangeGameObjectActiveState | ( | GameObject | go, |
bool | isActive | ||
) | [static, inherited] |
Used for SetActive so easily works between Unity 3.x and Unity 4.x.
static void tk2dUIBaseItemControl.ChangeGameObjectActiveStateWithNullCheck | ( | GameObject | go, |
bool | isActive | ||
) | [static, inherited] |
Changes active state, but first checks to make sure it isn't null.
Visible height of this ui item, used for vertical spacing.
Text Label for dropdown Item.
tk2dUIItem tk2dUIBaseItemControl.uiItem [inherited] |
Button(uiItem) for this control.
Button used for hovers.
int tk2dUIDropDownItem.Index [get, set] |
Which item in the list is this (0-index)
string tk2dUIDropDownItem.LabelText [get, set] |
Auto sets the label text (does commit)
System.Action<tk2dUIDropDownItem> tk2dUIDropDownItem.OnItemSelected |
Event on this item being selected.