Version: 2017.3

Animator.GetCurrentAnimatorClipInfoCount

Switch to Manual
public int GetCurrentAnimatorClipInfoCount (int layerIndex);

Parameters

layerIndex The layer index.

Returns

int The number of AnimatorClipInfo in the current state.

Description

Returns the number of AnimatorClipInfo in the current state.