UIItem you wish be able to drag on press. More...
Inherits tk2dUIBaseItemControl.
Public Member Functions | |
void | ButtonDown () |
Set button to be down (drag can begin) | |
void | ButtonRelease () |
Set button release (so drag will stop) | |
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 | |
tk2dUIManager | uiManager = null |
Active tk2dUIManager in scene. | |
tk2dUIItem | uiItem |
Button(uiItem) for this control. |
UIItem you wish be able to drag on press.
void tk2dUIDragItem.ButtonDown | ( | ) |
Set button to be down (drag can begin)
void tk2dUIDragItem.ButtonRelease | ( | ) |
Set button release (so drag will stop)
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.
tk2dUIItem tk2dUIBaseItemControl.uiItem [inherited] |
Button(uiItem) for this control.
Active tk2dUIManager in scene.