Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorCondition

struct in UnityEditor.Animations

Switch to Manual

Description

Condition that is used to determine if a transition must be taken.

Variables

modeThe mode of the condition.
parameterThe name of the parameter used in the condition.
thresholdThe AnimatorParameter's threshold value for the condition to be true.