Show / Hide Table of Contents

Method Overlaps

| Edit this page View Source

Overlaps(RectTransform, RectTransform)

Test if a RectTransform overlaps another RectTransform in world space
Declaration
public static bool Overlaps(this RectTransform a, RectTransform b)
Parameters
Type Name Description
RectTransform a
RectTransform b
Returns
Type Description
bool
| Edit this page View Source

Overlaps(RectTransform, RectTransform, bool)

Test if a RectTransform overlaps another RectTransform in world space
Declaration
public static bool Overlaps(this RectTransform a, RectTransform b, bool allowInverse)
Parameters
Type Name Description
RectTransform a
RectTransform b
bool allowInverse
Returns
Type Description
bool
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾