Nez.Portable/Physics/Physics.cs
/// <summary>
/// gets all the colliders that fall within the specified circle
/// </summary>
/// <returns>the number of Colliders returned</returns>
/// <param name="center">Center.</param>
/// <param name="radius">Radius.</param>
/// <param name="results">Results.</param>
/// <param name="layerMask">Layer mask.</param>
gets all the colliders that fall within the specified circle
gets all the colliders that fall within the specified circle
public static int overlapCircleAll(Vector2 center, float radius, Collider[] results, int layerMask = allLayers)
        {
            Assert.isFalse(
                results.Length == 0,
                "An empty results array was passed in. No results will ever be returned.");
            return _spatialHash.overlapCircle(center, radius, results, layerMask);
        }
public static int overlapCircleAll ( Vector2 center , float radius , Collider [ ] results , int layerMask = allLayers ) { Assert . isFalse ( results . Length == 0 , " " ) ; return _spatialHash . overlapCircle ( center , radius , results , layerMask ) ; }
gets all the colliders that fall within the specified circle
gets all the colliders that fall within the specified circle
the number of Colliders returned
the number of Colliders returned
center
Vector2
None
radius
float
None
results
Collider[]
None
layerMask
int
None