Documentation

Unity Engine


Unity Engine


useLayerMask

Sets the contact filter to filter results by layer mask.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useLayerMask