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.