Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimatorControllerPlayable.IsInTransition

Declaration

public bool IsInTransition(int layerIndex);

Parameters

layerIndex The layer index.

Returns

bool True if there is a transition on the given layer, false otherwise.

Description

Returns true if there is a transition on the given layer, false otherwise.