Version: 2017.1
public ContactFilter2D NoFilter ();

返回

ContactFilter2D 接触筛选器的副本,已设置为不筛选任何 ContactPoint2D

描述

将接触筛选器设置为不筛选任何 ContactPoint2D

调用此函数,以便将接触筛选器设置为 layerMask = Physics2D.AllLayersminDepth = Mathf.InfinitymaxDepth = Mathf.InfinityminNormalAngle = Mathf.InfinitymaxNormalAngle = Mathf.Infinity