Unity Engine documentationScript ReferenceUnity.U2D.PhysicsPhysicsQueryPhysicsQuery.WorldCastModeAllSortedReturn all the hits but also sort by ascending distance (closest first).阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: Unity.U2D.Physics Assembly: UnityEngine.PhysicsCore2DModule AllSorted = 2