layerMask
A LayerMask that is used to selectively ignore Colliders when casting a ray.
Read time 1 minuteLast updated 2 months ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public int layerMask { get; set; }