Version: 5.5

Animator.GetLayerIndex

Switch to Manual
public int GetLayerIndex (string layerName);