기술 자료

Unity Engine

Unity Engine

AnimatorTransitionInfo

Information about the current transition.
읽는 시간 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.