Documentation

Unity Engine

Unity Engine

Overlaps(Rect)

Check if edge overlaps rectangle.
Read time 1 minuteLast updated 2 months ago

Definition

public override bool Overlaps(Rect rect)

Parameters

rect

The rectangle.

Returns

Type

Description

boolTrue if the edge overlaps the rectangle.