Version: 2022.2
Experimental: this API is experimental and might be changed or removed in the future.

ISelectable.Overlaps

切换到手册
public bool Overlaps (Rect rectangle);

参数

rectangle 要检查的矩形。

返回

bool 如果重叠,则为 true;否则为 false。

描述

检查所选项是否与矩形重叠。