Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animator.GetAnimatorTransitionInfo

Switch to Manual
GetAnimatorTransitionInfo(layerIndex: int): AnimatorTransitionInfo;
AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex);
def GetAnimatorTransitionInfo(layerIndex as int) as AnimatorTransitionInfo

Parameters

layerIndexThe layer's index.

Description

Gets the Transition information on a specified AnimatorController layer.

Only valid when during a transition.