AddLayer
Utility function to add a layer to the controller.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
AddLayer(string)
Utility function to add a layer to the controller.
public void AddLayer(string name)
Parameters
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.