Version: 2017.2

HandleUtility.GUIPointToWorldRay

매뉴얼로 전환
public static Ray GUIPointToWorldRay (Vector2 position);

설명

Convert 2D GUI position to a world space ray.

Uses the current camera to calculate the ray.

See Also: WorldToGUIPoint, RaySnap.