Version: 2020.1
public bool Overlaps (RectInt other);

参数

other 要测试是否与之重叠的另一个矩形。

返回

bool 如果另一个矩形与该矩形重叠,则为 true。

描述

如果每个 RectInt Contains 共享点,则 RectInts 重叠。