This version of Unity is unsupported.

Animator.IsInTransition

Switch to Manual

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.