API > AnimatorTransitionInfo
AnimatorTransitionInfo⚓︎
Information about the current transition.
Members⚓︎
Properties⚓︎
Name | Description |
---|---|
AnimatorTransitionInfo .anyState |
Returns true if the transition is from an AnyState node, or from Animator.CrossFade. |
AnimatorTransitionInfo .duration |
Duration of the transition. |
AnimatorTransitionInfo .durationUnit |
The unit of the transition duration. |
AnimatorTransitionInfo .fullPathHash |
The hash name of the Transition. |
AnimatorTransitionInfo .nameHash |
The simplified name of the Transition. |
AnimatorTransitionInfo .normalizedTime |
Normalized time of the Transition. |
AnimatorTransitionInfo .userNameHash |
The user-specified name of the Transition. |
Methods⚓︎
Name | Description |
---|---|
AnimatorTransitionInfo .IsName(name) |
Does name match the name of the active Transition. |
AnimatorTransitionInfo .IsUserName(userName) |
Does userName match the name of the active Transition. |