ドキュメント

Unity Engine

Unity Engine

AnimatorTransitionInfo

Information about the current transition.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.