文档

Unity Engine

Unity Engine

DefaultRaycastLayers

Layer mask constant that includes all layers participating in raycasts by default.
阅读时间1 分钟最后更新于 14 小时前

Definition

public const int DefaultRaycastLayers = -5

Remarks

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