Documentation

Unity Engine

Download Unity

Unity Engine

IgnoreRaycastLayer

Layer mask constant for the default layer that ignores raycasts.
Read time 1 minuteLast updated 6 hours ago

Definition

public const int IgnoreRaycastLayer = 4

Remarks

The value of the mask is the bitwise complement of the Physics2D.DefaultRaycastLayers mask.