Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNextAnimatorClipInfo

Returns an array of all the AnimatorClipInfo in the next state of the given layer.
Read time 1 minuteLast updated 10 days ago

Definition

GetNextAnimatorClipInfo(int, List<AnimatorClipInfo>)

Returns an array of all the AnimatorClipInfo in the next state of the given layer.
public void GetNextAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)

Parameters

layerIndex

The layer index.

GetNextAnimatorClipInfo(int)

Returns an array of all the AnimatorClipInfo in the next state of the given layer.
public AnimatorClipInfo[] GetNextAnimatorClipInfo(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

AnimatorClipInfo[]An array of all the AnimatorClipInfo in the next state.