ScreenToGUIRect(Rect)
Convert a rect from screen space to GUI position.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public static Rect ScreenToGUIRect(Rect screenRect)
Parameters
Returns
Type | Description |
|---|---|
| Rect |