Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animator.GetLayerIndex

Switch to Manual
public function GetLayerIndex(layerName: string): int;

Parameters

layerName The layer's name.

Description

Gets the index of the layer with specified name.