文档

Unity Engine

Unity Engine

AddLayer

Utility function to add a layer to the controller.
阅读时间1 分钟最后更新于 1 个月前

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.