Skip to main content

Animator.GetNextAnimatorClipInfo(number layerIndex)

Returns an array of all the AnimatorClipInfo in the next state of the given layer.

Parameters:

NameTypeDescription
layerIndexnumberThe layer index.

Returns:

typeDescription
AnimatorClipInfo[]An array of all the AnimatorClipInfo in the next state.

Usage

---@type Animator
local animator;

---@type number
local layerIndex;


local val0 = animator.GetNextAnimatorClipInfo(layerIndex)