tk2dUIBaseItemControl Class Reference

Button base class. Button controls can extend this to get some base level structure and inspector editor support. More...

Inherited by tk2dUIDragItem, tk2dUIDropDownItem, tk2dUIHoverItem, tk2dUIMultiStateToggleButton, tk2dUISoundItem, tk2dUIToggleButton, tk2dUITweenItem, tk2dUIUpDownButton, and tk2dUIUpDownHoverButton.

List of all members.

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

tk2dUIItem uiItem
 Button(uiItem) for this control.

Detailed Description

Button base class. Button controls can extend this to get some base level structure and inspector editor support.


Member Function Documentation

static void tk2dUIBaseItemControl.ChangeGameObjectActiveState ( GameObject  go,
bool  isActive 
) [static]

Used for SetActive so easily works between Unity 3.x and Unity 4.x.

static void tk2dUIBaseItemControl.ChangeGameObjectActiveStateWithNullCheck ( GameObject  go,
bool  isActive 
) [static]

Changes active state, but first checks to make sure it isn't null.


Member Data Documentation

Button(uiItem) for this control.