Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Overlaps(Rect)

Check if edge overlaps rectangle.
Read time 1 minuteLast updated 9 days ago

Definition

public override bool Overlaps(Rect rectangle)

Parameters

rectangle

The rectangle.

Returns

Type

Description

boolTrue if edge overlaps the rectangle.