示例#1
0
        public static Collider[] OverlapSphere(Vector3 position, float radius)
        {
            int layerMask = -1;

            return(Physics.INTERNAL_CALL_OverlapSphere(ref position, radius, layerMask));
        }
示例#2
0
 public static Collider[] OverlapSphere(Vector3 position, float radius, [DefaultValue("AllLayers")] int layerMask)
 {
     return(Physics.INTERNAL_CALL_OverlapSphere(ref position, radius, layerMask));
 }