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.