Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Overlaps(Rect)

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

Definition

public override bool Overlaps(Rect rect)

Parameters

rect

The rectangle.

Returns

Type

Description

boolTrue if the edge overlaps the rectangle.