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

Parameters

worldPoint in world space.

Description

Convert a world space point to a 2D GUI position.

Uses the current camera to calculate the projection.

See Also: GUIPointToWorldRay, RaySnap.