SetDepth(float, float)
Sets the ContactFilter2D.minDepth and ContactFilter2D.maxDepth filter properties and turns on depth filtering by setting ContactFilter2D.useDepth to true.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void SetDepth(float minDepth, float maxDepth)