Documentation

Unity Engine

Download Unity

Unity Engine

layerMask

A LayerMask that selectively ignores Colliders when casting a capsule.
Read time 1 minuteLast updated 18 hours ago

Definition

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