This version of Unity is unsupported.

Animator.GetLayerName

Switch to Manual

Declaration

public string GetLayerName(int layerIndex);

Parameters

layerIndex The layer index.

Returns

string The layer name.

Description

Returns the layer name.