Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Animator.GetNextAnimatorStateInfo

Switch to Manual

Declaration

public AnimatorStateInfo GetNextAnimatorStateInfo(int layerIndex);

Parameters

layerIndex The layer index.

Returns

AnimatorStateInfo An AnimatorStateInfo with the information on the next state.

Description

Returns an AnimatorStateInfo with the information on the next state.