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 rectangle)

Parameters

rectangle

The rectangle.

Returns

Type

Description

boolTrue if edge overlaps the rectangle.