Version: 2021.3
解压缩预制件实例
Uses of layers in Unity

Layers

Layers are a tool that allows you to separate to separate GameObjects in your scenes. You can use layers through the UI and with scripts to edit how GameObjects within your scene interact with each other.

Topic 描述
Uses of layers in Unity Understand common applications of layers in Unity.
Create layers in Unity How to create layers and assign GameObjects to layers in Unity.
Layers and layermasks Understand the difference between layers and layermasks.
Set a layermask How to correctly setup a layermask to use in API calls.
Add a layer to a layermask How to programmatically add a new layer to a layermask.
Remove a layer from a layermask How to programmatically remove a layer from a layermask.

其他资源

解压缩预制件实例
Uses of layers in Unity
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961