ClearLayerMask()
Turns off layer mask filtering by setting ContactFilter2D.useLayerMask to false. The associated value of ContactFilter2D.layerMask is not changed.
阅读时间1 分钟最后更新于 24 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void ClearLayerMask()