SetLayerMask(LayerMask)
A helper method that simultaneously sets both the _layerMask to the specified mask but also sets _useLayerMask to true.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void SetLayerMask(LayerMask mask)
Parameters
The layer mask to use.
Remarks
Additional Resources: _useLayerMask, _layerMask