Version: 2019.1
public static Rect ScreenToGUIRect (Rect screenRect);

Description

Convert a rect from screen space to GUI position.