Skip to main content

Animator.GetNextAnimatorClipInfoCount(number layerIndex)

Returns the number of AnimatorClipInfo in the next state.

Parameters:

NameTypeDescription
layerIndexnumberThe layer index.

Returns:

typeDescription
numberThe number of AnimatorClipInfo in the next state.

Usage

---@type Animator
local animator;

---@type number
local layerIndex;


local val0 = animator.GetNextAnimatorClipInfoCount(layerIndex)