文档

Unity Engine

Unity Engine

GetAnimatorTransitionInfo(int)

Returns an AnimatorTransitionInfo with the informations on the current transition.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex)

Parameters

layerIndex

The layer's index.

Returns

Type

Description

AnimatorTransitionInfoAn AnimatorTransitionInfo with the informations on the current transition.