Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCurrentAnimatorClipInfoCount(int)

Returns the number of AnimatorClipInfo in the current state.
Read time 1 minuteLast updated 4 days ago

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.