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. |