文档

Unity Engine

Unity Engine

Overlaps(Rect)

Check if edge overlaps rectangle.
阅读时间1 分钟最后更新于 1 个月前

Definition

public override bool Overlaps(Rect rect)

Parameters

rect

The rectangle.

Returns

Type

Description

boolTrue if the edge overlaps the rectangle.