AnimationSetting
Declaration
[Serializable]
public sealed class AnimationSetting
Description
An animator setting that can be set on an animation controller.
Properties
parameter | The animator parameter as set in the animation controller. |
condition | The movement state condition that must be met for the animation parameter to be set on an animation controller. |
type | The type of animation parameter, i.e., Bool, Trigger, Float. |
property | The property that is used as the float value of the animation parameter (only applicable for 'Float' type parameters). |
damping | How quickly the parameter value changes (only applicable for 'Float' type parameters). Small numbers make the parameter more responsive, and large numbers make the parameter respond slowly. |
enabled | Whether the animation parameter should be set on an animation controller. |
Constructors
AnimationSetting | Constructs a new animation parameter with the given properties. |
Static Methods
Bool | Creates a Bool type animation setting with the given condition and parameter. |
Trigger | Creates a Trigger type animation setting with the given condition and parameter. |
Float | Creates a Float type animation setting for the specified property with the given condition and parameter. |
Int | Creates a Float type animation setting for the specified property with the given condition and parameter. |