Version: 2018.2
public static Vector2 WorldToGUIPoint (Vector3 world);

Parameters

worldPoint in world space.

Description

Convert world space point to a 2D GUI position.

Uses the current camera to calculate the projection.

See Also: GUIPointToWorldRay, RaySnap.