public AnimatorClipInfo[] GetCurrentAnimatorClipInfo (int layerIndex);

Parameters

layerIndexThe layer index.

Returns

AnimatorClipInfo[] An array of all the AnimatorClipInfo in the current state.

Description

Returns an array of all the AnimatorClipInfo in the current state of the given layer.