ドキュメント

Unity Engine

Unity Engine

colliderMask

The mask used to select specific layers allowed to interact with the effector.
読み終わるまでの所要時間 1 分最終更新 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.