ClearDepth()
Turns off depth filtering by setting ContactFilter2D.useDepth to false. The associated values of ContactFilter2D.minDepth and ContactFilter2D.maxDepth are not changed.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void ClearDepth()