Draws a line from a Start point in a direction. Specify the start point as Game Objects or Vector3 world positions. If both are specified, position is used as a local offset from the Object's position.
From Object
Use Game Object as start point.
From Position
Use Vector3 as world position or offset from object if defined.
Direction
Vector3 direction in world space.
Color
The color of the line.
Hint: Turn on Gizmos in the Game View to see the line in the running game.