기술 자료

Unity Engine

Unity Engine

GetCurrentAnimatorClipInfo

Returns an array of all the AnimatorClipInfo in the current state of the given layer.
읽는 시간 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.