Class AnimationRandomizerTag
Used in conjunction with a AnimationRandomizer to select a random animation frame for the tagged game object
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Randomizers.SampleRandomizers.Tags
Assembly: solution.dll
Syntax
[RequireComponent(typeof(Animator))]
[AddComponentMenu("Perception/RandomizerTags/Animation Randomizer Tag")]
public class AnimationRandomizerTag : RandomizerTag
Fields
Name | Description |
---|---|
animationClips | A list of animation clips from which to choose |
applyRootMotion | Apply the root motion to the animator. If true, if an animation has a rotation translation and/or rotation that will be applied to the labeled model, which means that the model maybe move to a new position. If false, then the model will stay at its current position/rotation. |
Properties
Name | Description |
---|---|
animatorOverrideController | Gets the animation override controller for an animation randomization. The controller is loaded from resources. |