|
UnityEssentials
Small but useful tools and features for Unity
|
Extensions for LayerMask More...

Static Public Member Functions | |
| static bool | Contains (this LayerMask mask, int layerNumber) |
| Checks if the LayerMask contains a given layer. More... | |
Extensions for LayerMask
Definition at line 7 of file LayerMaskExtensions.cs.
|
static |
Checks if the LayerMask contains a given layer.
| layerNumber | The number of the layer to check if is in the LayerMask |
Definition at line 16 of file LayerMaskExtensions.cs.