Drawing line between two 3D points

static function DrawLine (start : Vector3, end : Vector3, color : Color = Color.white) : void
Draws a line from the point start to end with color. The line will be drawn in the scene view of the editor. If gizmo drawing
is enabled in the game view, the line will also be drawn there.

How to do draw line in game window (not in the scene view of the editor)?

-Kaya

Perhaps you can use this? Unity - Scripting API: GL

I’m not too sure, I just google’d it.

There’s also this in Unity: Unity - Manual: Line Renderer component
But it doesn’t render pixel-thin lines, it seems to essentially create a physical textured mesh in your scene.

http://www.starscenesoftware.com/vectrosity.html

–Eric