ClearDepth()
Turns off depth filtering by setting ContactFilter2D.useDepth to false. The associated values of ContactFilter2D.minDepth and ContactFilter2D.maxDepth are not changed.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void ClearDepth()