Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAnimatorTransitionInfo(int)

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

Definition

public AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex)

Parameters

layerIndex

The layer's index.

Returns

Type

Description

AnimatorTransitionInfoAn AnimatorTransitionInfo with the informations on the current transition.