Physics2D.IgnoreRaycastLayer

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答