UpDown Button, changes state based on if it is up or down, plus hover. More...
Inherits tk2dUIBaseItemControl.
Public Member Functions | |
| void | InternalSetUseOnReleaseInsteadOfOnUp (bool state) |
| Internal do not use. | |
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 | |
| GameObject | upStateGO |
| State that will be active if up and deactivated if down. | |
| GameObject | downStateGO |
| State that will be active if down and deactivated if up. | |
| GameObject | hoverOverStateGO |
| State that will be active is up and hovering over. | |
| tk2dUIItem | uiItem |
| Button(uiItem) for this control. | |
Properties | |
| bool | IsOver [get, set] |
| Is mouse currently over. | |
Events | |
| System.Action < tk2dUIUpDownHoverButton > | OnToggleOver |
| Event on hover status change. | |
UpDown Button, changes state based on if it is up or down, plus hover.
| 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.
| void tk2dUIUpDownHoverButton.InternalSetUseOnReleaseInsteadOfOnUp | ( | bool | state | ) |
Internal do not use.
| GameObject tk2dUIUpDownHoverButton.downStateGO |
State that will be active if down and deactivated if up.
| GameObject tk2dUIUpDownHoverButton.hoverOverStateGO |
State that will be active is up and hovering over.
tk2dUIItem tk2dUIBaseItemControl.uiItem [inherited] |
Button(uiItem) for this control.
| GameObject tk2dUIUpDownHoverButton.upStateGO |
State that will be active if up and deactivated if down.
bool tk2dUIUpDownHoverButton.IsOver [get, set] |
Is mouse currently over.
| System.Action<tk2dUIUpDownHoverButton> tk2dUIUpDownHoverButton.OnToggleOver |
Event on hover status change.