NGUI: Next-Gen UI kit
3.7.2
|
Mainly an internal script used by UIButtonPlayAnimation, but can also be used to call the specified function on the game object after it finishes animating. More...
Public Member Functions | |
void | Finish () |
Immediately finish playing the animation. More... | |
void | Reset () |
Manually reset the active animation to the beginning. More... | |
Static Public Member Functions | |
static ActiveAnimation | Play (Animation anim, string clipName, Direction playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition) |
Play the specified animation on the specified object. More... | |
static ActiveAnimation | Play (Animation anim, string clipName, Direction playDirection) |
Play the specified animation. More... | |
static ActiveAnimation | Play (Animation anim, Direction playDirection) |
Play the specified animation. More... | |
static ActiveAnimation | Play (Animator anim, string clipName, Direction playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition) |
Play the specified animation on the specified object. More... | |
Public Attributes | |
List< EventDelegate > | onFinished = new List<EventDelegate>() |
Event delegates called when the animation finishes. More... | |
GameObject | eventReceiver |
string | callWhenFinished |
Static Public Attributes | |
static ActiveAnimation | current |
Active animation that resulted in the event notification. More... | |
Properties | |
bool | isPlaying [get] |
Whether the animation is currently playing. More... | |
Mainly an internal script used by UIButtonPlayAnimation, but can also be used to call the specified function on the game object after it finishes animating.
void ActiveAnimation.Finish | ( | ) |
Immediately finish playing the animation.
|
static |
Play the specified animation on the specified object.
|
static |
Play the specified animation.
|
static |
Play the specified animation.
|
static |
Play the specified animation on the specified object.
void ActiveAnimation.Reset | ( | ) |
Manually reset the active animation to the beginning.
string ActiveAnimation.callWhenFinished |
|
static |
Active animation that resulted in the event notification.
GameObject ActiveAnimation.eventReceiver |
List<EventDelegate> ActiveAnimation.onFinished = new List<EventDelegate>() |
Event delegates called when the animation finishes.
|
get |
Whether the animation is currently playing.