ドキュメント

Unity Engine

Unity Engine

IgnoreRaycastLayer

Layer mask constant for the default layer that ignores raycasts.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public const int IgnoreRaycastLayer = 4

Remarks

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