|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
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