Search Unity

Hassle free polyline drawing in play mode?

Discussion in 'Scripting' started by JovanD, Nov 1, 2016.

  1. JovanD

    JovanD

    Joined:
    Jan 5, 2014
    Posts:
    205
    Hello guys does anyone know any asset or freely available script that is basically a runtime equivalent to Handles.DrawPolyLine?
    I need solution to draw many lines without going trough hasstle and overhead of creating and delting game objects as id need to do if i used line renderer, i only need lines to be drawn when the function is called.
    Im guessing some one already done that using Graphics or GL class, but im having trouble finding it.
    Thanks in advance :D