Utility class containing helper methods for working with RectTransform.
public static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint) { return(RectTransformUtility.RectangleContainsScreenPoint(rect, screenPoint, null)); }
public static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint, Camera cam) { return(RectTransformUtility.INTERNAL_CALL_RectangleContainsScreenPoint(rect, ref screenPoint, cam)); }
public static Bounds CalculateRelativeRectTransformBounds(Transform trans) { return(RectTransformUtility.CalculateRelativeRectTransformBounds(trans, trans)); }