AnimationSetting


Declaration

[Serializable]
public sealed class AnimationSetting

Description

An animator setting that can be set on an animation controller.

Properties

parameterThe animator parameter as set in the animation controller.
conditionThe movement state condition that must be met for the animation parameter to be set on an animation controller.
typeThe type of animation parameter, i.e., Bool, Trigger, Float.
propertyThe property that is used as the float value of the animation parameter (only applicable for 'Float' type parameters).
dampingHow 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.
enabledWhether the animation parameter should be set on an animation controller.

Constructors

AnimationSettingConstructs a new animation parameter with the given properties.

Static Methods

BoolCreates a Bool type animation setting with the given condition and parameter.
TriggerCreates a Trigger type animation setting with the given condition and parameter.
FloatCreates a Float type animation setting for the specified property with the given condition and parameter.
IntCreates a Float type animation setting for the specified property with the given condition and parameter.