public ContactFilter2D NoFilter ();

Returns

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

Description

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

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