AllLayers
Layer mask constant that includes all layers.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public const int AllLayers = -1
Remarks
Additional Resources: Physics2D.DefaultRaycastLayers, Physics2D.IgnoreRaycastLayer