文档

Unity Engine

Unity Engine

AllLayers

Layer mask constant that includes all layers.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public const int AllLayers = -1

Remarks