ドキュメント

Unity Engine

Unity Engine

GetCurrentAnimatorClipInfo

Returns an array of all the AnimatorClipInfo in the current state of the given layer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetCurrentAnimatorClipInfo(int)

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

Parameters

layerIndex

The layer index.

Returns

Type

Description

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

GetCurrentAnimatorClipInfo(int, List<AnimatorClipInfo>)

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

Parameters

layerIndex

The layer index.