ドキュメント

Unity Engine

Unity Engine

DefaultRaycastLayers

Layer mask constant that includes all layers participating in raycasts by default.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public const int DefaultRaycastLayers = -5

Remarks

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