Version: 2017.2

Animator.GetLayerName

Switch to Manual
public string GetLayerName (int layerIndex);