Skip to main content

AnimatorTransitionInfo

Information about the current transition.

Members

Properties

NameDescription
AnimatorTransitionInfo.anyStateReturns true if the transition is from an AnyState node, or from Animator.CrossFade.
AnimatorTransitionInfo.durationDuration of the transition.
AnimatorTransitionInfo.durationUnitThe unit of the transition duration.
AnimatorTransitionInfo.fullPathHashThe hash name of the Transition.
AnimatorTransitionInfo.nameHashThe simplified name of the Transition.
AnimatorTransitionInfo.normalizedTimeNormalized time of the Transition.
AnimatorTransitionInfo.userNameHashThe user-specified name of the Transition.

Methods

NameDescription
AnimatorTransitionInfo.IsName(name)Does name match the name of the active Transition.
AnimatorTransitionInfo.IsUserName(userName)Does userName match the name of the active Transition.