public static Vector2 ScreenToGUIPoint(Vector2 screenPoint){} public static void RotateAroundPivot(float angle, Vector2 pivotPoint){}
public static Rect ScreenToGUIRect(Rect screenRect) { Vector2 vector = GUIUtility.ScreenToGUIPoint(new Vector2(screenRect.x, screenRect.y)); screenRect.x = vector.x; screenRect.y = vector.y; return(screenRect); }