Layers and layerMasks
Resources for connecting layers to the Unity API, via layerMasks.
阅读时间1 分钟最后更新于 2 个月前
Unity APIs use layerMasks to define which layers the API can interact with.
Topic | Description |
|---|---|
| Introduction to layerMasks | Understand how the Unity API uses layerMasks to define which layers it can interact with. |
| Set a layerMask | Set up a layerMask to use in API calls. |
| Add a layer to a layerMask | Add a new layer to a layerMask via script. |
| Remove a layer from a layerMask | Remove a layer from a layerMask via script. |