- Home /
Easy Line drawing
Is there an easier way to draw lines?
All i want to do is have a function in the format
DrawLine(Point1,Point2);
Its seems like constructing a linerenderer is to much overhead for just wanting to draw a straight line from point 1 to point 2.
Not to mention I dont fully understand how to use it. (despite the documentation, so please dont send links referencing it. Ive read it forward and backward)
Debug.Line would be perfect and is already set up but it doesnt display in the build.
Answer by Eric5h5 · Jul 25, 2011 at 06:37 PM
http://www.starscenesoftware.com/vectrosity.html
Then you can just do
Vector.SetLine (Color.green, point1, point2);
(Plus lots of other line-related things. One person liked the docs so much he bought another copy, no kidding.)
Answer by Chris D · Jul 25, 2011 at 06:37 PM
Not to shill too hard for @Eric5h5, but have you looked at his Vectrosity package?
edit: lol, beaten...
Ive been interested in this, couldnt remember the name so good info.
Your answer
Follow this Question
Related Questions
How to make dotted line for Bubble game? 1 Answer
LineRenderer Distortion 2 Answers
Unity Linerenderer Jaggy Lines 3 Answers
LineRenderer with nontrivial radius? 1 Answer
Draw out Line in C# 0 Answers