Api > Animator > GetNextAnimatorClipInfoCount()
Animator.GetNextAnimatorClipInfoCount(number layerIndex)⚓︎
Returns the number of AnimatorClipInfo in the next state.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
layerIndex | number | The layer index. |
Returns:⚓︎
type | Description |
---|---|
number | The number of AnimatorClipInfo in the next state. |
Usage⚓︎
---@type Animator
local animator;
---@type number
local layerIndex;
local val0 = animator.GetNextAnimatorClipInfoCount(layerIndex)