Plays audioclips based on uiItem events. 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 | |
| AudioClip | downButtonSound |
| Audio clip to play when the button transitions from up to down state. Requires an AudioSource component to be attached to work. | |
| AudioClip | upButtonSound |
| Audio clip to play when the button transitions from down to up state. Requires an AudioSource component to be attached to work. | |
| AudioClip | clickButtonSound |
| Audio clip to play when the button is clicked. Requires an AudioSource component to be attached to work. | |
| AudioClip | releaseButtonSound |
| Audio clip to play when the button on release. Requires an AudioSource component to be attached to work. | |
| tk2dUIItem | uiItem |
| Button(uiItem) for this control. | |
Plays audioclips based on uiItem events.
| 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.
| AudioClip tk2dUISoundItem.clickButtonSound |
Audio clip to play when the button is clicked. Requires an AudioSource component to be attached to work.
| AudioClip tk2dUISoundItem.downButtonSound |
Audio clip to play when the button transitions from up to down state. Requires an AudioSource component to be attached to work.
| AudioClip tk2dUISoundItem.releaseButtonSound |
Audio clip to play when the button on release. Requires an AudioSource component to be attached to work.
tk2dUIItem tk2dUIBaseItemControl.uiItem [inherited] |
Button(uiItem) for this control.
| AudioClip tk2dUISoundItem.upButtonSound |
Audio clip to play when the button transitions from down to up state. Requires an AudioSource component to be attached to work.