Overlaps(RectInt)
RectInts overlap if each RectInt RectInt.Contains a shared point.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool Overlaps(RectInt other)
Parameters
Other rectangle to test overlapping with.
Returns
Type | Description |
|---|---|
| bool | True if the other rectangle overlaps this one. |