Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnimatorTransitionInfo

Information about the current transition.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public struct AnimatorTransitionInfo

Properties

Property

Description

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

Methods

Method

Description

IsNameDoes name match the name of the active Transition.
IsUserNameDoes userName match the name of the active Transition.