Readonly
clipsArray of animation clips
If disabled, the Component will stop enacting its behavior.
Readonly
onBind a function to listen to the specified events emitted by AnimationAsset
events.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueAdds a clip to the player. If one exists, replace existing clip.
Tries to get a clip from the player, returns null if it does not exist.
Returns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Component that handles playing animation clips as well as binding callbacks to user defined events.
Example