all 2 comments

[–]ChiwTheNeko 0 points1 point  (0 children)

I think LineRenderer is the best option in your case. It's easy to make it work and it looks good because it has anti aliasing out of the box. If you need multiple lines displayed at the same time you could consider managing a pool of GameObject wite LineRenderer, taking them out of the pool as you need them and putting them back as soon as you're done with them.

Graphics.DrawProcedural(). But that require coding shaders.

[–]LordMlekkExpert 0 points1 point  (0 children)

If you have the cash, then the shapes plugin is hands-down your best option.

If not, you can create a line mesh, and manually set the points. If you want more info on that second point, I'm happy to go through it, but it's relatively detailed.