Animator.GetAnimatorTransitionInfo(number layerIndex)
Returns an AnimatorTransitionInfo with the informations on the current transition.
Parameters:
Name | Type | Description |
---|---|---|
layerIndex | number | The layer's index. |
Returns:
type | Description |
---|---|
AnimatorTransitionInfo | An AnimatorTransitionInfo with the informations on the current transition. |
Usage
---@type Animator
local animator;
---@type number
local layerIndex;
local val0 = animator.GetAnimatorTransitionInfo(layerIndex)