GUIToScreenPoint(Vector2)
Converts a point from GUI position to screen space relative to the cached camera viewport.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public Vector2 GUIToScreenPoint(Vector2 guiPoint)
Parameters
A point in GUI space to convert to screen space.
Returns
Type | Description |
|---|---|
| Vector2 | |