Documentation

Unity Engine

Unity Engine

GetCurrentAnimatorClipInfoCount(int)

Returns the number of AnimatorClipInfo in the current state.
Read time 1 minuteLast updated 2 months ago

Definition

public int GetCurrentAnimatorClipInfoCount(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

intThe number of AnimatorClipInfo in the current state.