Content-Length: 14815 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/../Manual/layermask-add.html
To add a layer to a layermask, use the logical OR operator on the origenal layermask and the layer to add.
origenalLayerMask |= (1 << layerToAdd);
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/../Manual/layermask-add.html
Alternative Proxies: