文档

Unity Engine

Unity Engine

GetCurrentAnimatorClipInfoCount(int)

Returns the number of AnimatorClipInfo in the current state.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public int GetCurrentAnimatorClipInfoCount(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

intThe number of AnimatorClipInfo in the current state.