ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


Layers and layerMasks

Resources for connecting layers to the Unity API, via layerMasks.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Unity APIs use layerMasks to define which layers the API can interact with.

Topic

Description

Introduction to layerMasksUnderstand how the Unity API uses layerMasks to define which layers it can interact with.
Set a layerMaskSet up a layerMask to use in API calls.
Add a layer to a layerMaskAdd a new layer to a layerMask via script.
Remove a layer from a layerMaskRemove a layer from a layerMask via script.

Additional resources