AddLayer
Utility function to add a layer to the controller.
阅读时间1 分钟最后更新于 1 个月前
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.