UnityEngine.Physics2D.OverlapAreaAll C# (CSharp) Method

OverlapAreaAll() private method

private OverlapAreaAll ( Vector2 pointA, Vector2 pointB ) : Collider2D[]
pointA Vector2
pointB Vector2
return Collider2D[]
        public static Collider2D[] OverlapAreaAll(Vector2 pointA, Vector2 pointB)
        {
            float positiveInfinity = float.PositiveInfinity;
            float negativeInfinity = float.NegativeInfinity;
            int layerMask = -5;
            return INTERNAL_CALL_OverlapAreaAll(ref pointA, ref pointB, layerMask, negativeInfinity, positiveInfinity);
        }

Same methods

Physics2D::OverlapAreaAll ( Vector2 pointA, Vector2 pointB, [ layerMask, [ minDepth, [ maxDepth ) : Collider2D[]
Physics2D::OverlapAreaAll ( Vector2 pointA, Vector2 pointB, int layerMask ) : Collider2D[]
Physics2D::OverlapAreaAll ( Vector2 pointA, Vector2 pointB, int layerMask, float minDepth ) : Collider2D[]
Physics2D