Version: 2018.2
public void RemoveLayer (int index);

Parameters

indexThe index of the AnimatorLayer.

Description

Utility function to remove a layer from the controller.

This function pushes an Undo operation.