Skip to content

API > AnimatorTransitionInfo


AnimatorTransitionInfo⚓︎

Information about the current transition.

Members⚓︎

Properties⚓︎

Name Description
AnimatorTransitionInfo.anyStateProperty Returns true if the transition is from an AnyState node, or from Animator.CrossFade.
AnimatorTransitionInfo.durationProperty Duration of the transition.
AnimatorTransitionInfo.durationUnitProperty The unit of the transition duration.
AnimatorTransitionInfo.fullPathHashProperty The hash name of the Transition.
AnimatorTransitionInfo.nameHashProperty The simplified name of the Transition.
AnimatorTransitionInfo.normalizedTimeProperty Normalized time of the Transition.
AnimatorTransitionInfo.userNameHashProperty The user-specified name of the Transition.

Methods⚓︎

Name Description
AnimatorTransitionInfo.IsName(name) Method Does name match the name of the active Transition.
AnimatorTransitionInfo.IsUserName(userName) Method Does userName match the name of the active Transition.