Version: 5.5
Experimental: this API is experimental and might be changed or removed in the future.

AnimatorControllerPlayable.GetLayerIndex

Switch to Manual
public int GetLayerIndex (string layerName);