Plays a sprite animation. Can receive animation events and animation complete event. NOTE: The Game Object must have a tk2dAnimatedSprite attached.
Game Object
The Game Object to work with. NOTE: The Game Object must have a tk2dAnimatedSprite component attached.
Clip Name
The clip name to play
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