Version: 2017.1

Animator.GetLayerName

切换到手册
public string GetLayerName (int layerIndex);