기술 자료

Unity Engine

Unity Engine

colliderMask

The mask used to select specific layers allowed to interact with the effector.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public int colliderMask { get; set; }

Remarks

Any Collider2D used by the effector will only interact with colliders on the specified layers. The layer of this GameObject will not be used by these colliders.