Version: 5.5
Experimental: this API is experimental and might be changed or removed in the future.

IAnimatorControllerPlayable.GetCurrentAnimatorClipInfoCount

Switch to Manual
public int GetCurrentAnimatorClipInfoCount (int layerIndex);

Parameters

layerIndex Layer's Index.

Returns

int Returns the count of AnimatorClipInfo for the current state.

Description

This function should be used when you want to use the allocation-free method IAnimatorControllerPlayable.GetCurrentAnimatorClipInfo.