文档

Unity Engine

Unity Engine

IgnoreRaycastLayer

Layer mask constant for the default layer that ignores raycasts.
阅读时间1 分钟最后更新于 1 天前

Definition

public const int IgnoreRaycastLayer = 4

Remarks

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