Version: 2018.1

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.