LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Animator.GetLayerName

Switch to Manual
public string GetLayerName(int layerIndex);

Parameters

layerIndexThe layer index.

Returns

string The layer name.

Description

Returns the layer name.