Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearDepth()

Turns off depth filtering by setting _useDepth to false. The associated values of _minDepth and _maxDepth are not changed.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public void ClearDepth()