Version: 2020.2

Animator.GetCurrentAnimatorClipInfoCount

Switch to Manual
public int GetCurrentAnimatorClipInfoCount (int layerIndex);

Parameters

layerIndexThe layer index.

Returns

int The number of AnimatorClipInfo in the current state.

Description

Returns the number of AnimatorClipInfo in the current state.