bool IsInside( Vector2 pos )

Summary

Whether given screen position is within this panel. This will accurately handle border radius as well.

bool IsInside( Rect rect, bool fullyInside )

Summary

Whether the given rect is inside this panels bounds. (UI.Box.Rect)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.