Version: 5.4

Animator.GetLayerIndex

Switch to Manual
public int GetLayerIndex (string layerName);