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 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule

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.

GetNextAnimatorClipInfo(int, List<AnimatorClipInfo>)

Fills
clips
with the list 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.

The list of AnimatorClipInfo to fill.

Remarks