layerMask
A LayerMask that is used to selectively filter which colliders are considered when casting a ray.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public int layerMask { get; set; }