GUIUtility.ScreenToGUIRect

public static Rect ScreenToGUIRect(Rect screenRect);

Description

Convert a rect from screen space to GUI position.

Did you find this page useful? Please give it a rating: