Version: 2017.1

Physics2D.IgnoreRaycastLayer

Switch to Manual
public static int IgnoreRaycastLayer ;

Description

Layer mask constant for the default layer that ignores raycasts.

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

See Also: Raycast, DefaultRaycastLayers, AllLayers.