기술 자료

Unity Engine

Unity Engine

DefaultRaycastLayers

Layer mask constant that includes all layers participating in raycasts by default.
읽는 시간 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.