Unity - Scripting API: AnimatorConditionMode
enumeration
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
The mode of the condition.
Properties
| Property | Description |
|---|---|
| If | The condition is true when the parameter value is true. |
| IfNot | The condition is true when the parameter value is false. |
| Greater | The condition is true when parameter value is greater than the threshold. |
| Less | The condition is true when the parameter value is less than the threshold. |
| Equals | The condition is true when parameter value is equal to the threshold. |
| NotEqual | The condition is true when the parameter value is not equal to the threshold. |