Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Animator.GetCurrentAnimatorClipInfoCount

Switch to Manual
public int GetCurrentAnimatorClipInfoCount(int layerIndex);

Parameters

layerIndexThe layer index.

Returns

int The number of AnimatorClipInfo in the current state.

Description

Returns the number of AnimatorClipInfo in the current state.

Did you find this page useful? Please give it a rating: