This version of Unity is unsupported.

AnimatorController.RemoveLayer

Declaration

public void RemoveLayer(int index);

Parameters

index The index of the AnimatorLayer.

Description

Utility function to remove a layer from the controller.

This function pushes an Undo operation.