This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

Edge.Overlaps

public bool Overlaps(Rect rectangle);

Parameters

rectangleThe rectangle.

Returns

bool True if edge overlaps the rectangle.

Description

Check if edge overlaps rectangle.