Documentation

Unity Engine


Unity Engine


GetAnimatorTransitionInfo(int)

Returns an AnimatorTransitionInfo with the informations on the current transition.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex)

Parameters

layerIndex

The layer's index.

Returns

Type

Description

AnimatorTransitionInfoAn AnimatorTransitionInfo with the informations on the current transition.