Documentation

Unity Engine

Unity Engine

layerMask

The LayerMask that selectively ignores Colliders when casting a sphere.
Read time 1 minuteLast updated a day ago

Definition

Warning
Deprecated. Layer Mask is now a part of QueryParameters struct
public int layerMask { get; set; }