UnityEngine.Physics2D.OverlapArea C# (CSharp) Method

OverlapArea() private method

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

Same methods

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