Version: 2019.1
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.