Whether this AnimationMixer is set to automatically play animations on start.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlysceneThe SceneObject this component is on.
A multiplying value for the speed of all animations being controlled by the AnimationMixer. For example, a value of 2.0 will double animation speed, while a value of 0.5 will cut the speed in half.
ReadonlyuniqueMakes a copy of the layer name and stores it as newName.
Adds a new AnimationMixerLayer to this AnimationMixer.
Destroys the component.
Returns the AnimationMixerLayer with the name name.
Returns a list of all AnimationMixerLayers controlled by the AnimationMixer.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Rebuild the animation hierarchy by finding all Animation components in the SceneObject and its children.
Starts playing animation layers named name, or all layers if name is empty. The animation will start with an offset of offset seconds. The animation will play cycles times, or loop forever if cycles is -1. eventCallback will be called after any animation layer finishes playing.
Controls playback of animations on the attached SceneObject and its child objects. Please refer to the Playing 3D Animation Guide for setting up and playing animations.
Deprecated
Example