Version: 2020.2

Animator.GetAnimatorTransitionInfo

Switch to Manual
public AnimatorTransitionInfo GetAnimatorTransitionInfo (int layerIndex);

Parameters

layerIndexThe layer's index.

Returns

AnimatorTransitionInfo An AnimatorTransitionInfo with the informations on the current transition.

Description

Returns an AnimatorTransitionInfo with the informations on the current transition.