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

IAnimatorControllerPlayable.GetNextAnimatorClipInfoCount

Switch to Manual
public int GetNextAnimatorClipInfoCount (int layerIndex);

Parameters

layerIndex Layer's Index.

Returns

int Returns the count of AnimatorClipInfo for the next state.

Description

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