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.IsInTransition

Switch to Manual
IsInTransition(layerIndex: int): bool;
bool IsInTransition(int layerIndex);
def IsInTransition(layerIndex as int) as bool

Parameters

layerIndexThe layer's index.

Description

Is the specified AnimatorController layer in a transition.