Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddLayer

Utility function to add a layer to the controller.
Read time 1 minuteLast updated 5 days ago

Definition

AddLayer(string)

Utility function to add a layer to the controller.
public void AddLayer(string name)

Parameters

name

The name of the Layer.

Remarks

This function pushes an Undo operation.

AddLayer(AnimatorControllerLayer)

Utility function to add a layer to the controller.
public void AddLayer(AnimatorControllerLayer layer)

Parameters

The layer to add.

Remarks

This function pushes an Undo operation.