Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useDepth

Sets the contact filter to filter the results by depth using ContactFilter2D.minDepth and ContactFilter2D.maxDepth.
Read time 1 minuteLast updated 9 days ago

Definition

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