Skip to main content

Animator.GetAnimatorTransitionInfo(number layerIndex)

Returns an AnimatorTransitionInfo with the informations on the current transition.

Parameters:

NameTypeDescription
layerIndexnumberThe layer's index.

Returns:

typeDescription
AnimatorTransitionInfoAn AnimatorTransitionInfo with the informations on the current transition.

Usage

---@type Animator
local animator;

---@type number
local layerIndex;


local val0 = animator.GetAnimatorTransitionInfo(layerIndex)