Extensions.Contains
Extension Method in Extensions
Declaration
public static bool Contains(this LayerMask mask, int layer)
Description
Checks if the given layer is included in the mask.
Parameters
mask | The mask to check. |
layer | The layer to check. |
Returns
bool | True if the layer is included in the mask, false otherwise. |