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.RectangleContainsScreenPoint(rect, screenPoint, cam, Vector4.zero)); }