Animator.GetNextAnimatorClipInfo(number layerIndex)
Returns an array of all the AnimatorClipInfo in the next state of the given layer.
Parameters:
Name | Type | Description |
---|---|---|
layerIndex | number | The layer index. |
Returns:
type | Description |
---|---|
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)