This version of Unity is unsupported.

AnimatorControllerPlayable.GetNextAnimatorStateInfo

public AnimatorStateInfo GetNextAnimatorStateInfo(int layerIndex);

Parameters

layerIndexThe layer index.

Returns

AnimatorStateInfo An AnimatorStateInfo with the information on the next state.

Description

Returns an AnimatorStateInfo with the information on the next state.