Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNextAnimatorStateInfo(int)

Returns an AnimatorStateInfo with the information on the next state.
Read time 1 minuteLast updated 7 days ago

Definition

public AnimatorStateInfo GetNextAnimatorStateInfo(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

AnimatorStateInfoAn AnimatorStateInfo with the information on the next state.