Receive animation events and animation complete event of the current animation playing. NOTE: The Game Object must have a tk2dAnimatedSprite attached.
The Game Object to work with. NOTE: The Game Object must have a tk2dAnimatedSprite component attached.
Animation Trigger Event
Trigger event defined in the clip. The event holds the following triggers infos: the eventInt, eventInfo and eventFloat properties
Animation Complete Event
Animation complete event. The event holds the clipId reference