public static Collider[] OverlapSphere(Vector3 position, float radius, int layerMask = AllLayers, QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal);
Returns an array with all colliders touching or inside the sphere.
原文:https://www.cnblogs.com/guomengkai/p/13051690.html