A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unity3d.com/Manual/layermask-remove.html below:

Manual: Remove a layer from a layerMask

Add a layer to a layerMask

Tags

Remove a layer from a layerMask

To remove a layer from a layermask, use the logical AND operator on the original layermask and the bitwise complement of the layer to remove it.

originalLayerMask &= ~(1 << layerToRemove);
Additional resources

Add a layer to a layerMask

Tags


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4