What’s the fastest approach to rendering multiple lines in Unity?
I need to draw a set of lines with N vertices each (say, 5 such lines).
I could dynamically create 5 game objects, each with a LineRenderer taking care of one of my lines, but I was wondering is there was a smarter way to achieve that, in a single draw call, and without having to manage all these dynamic gameObjects (the number of lines I need varies over time and can potentially be high). I’m targetting iPhone/iPad so performance is critical and I can’t use the GL class.
Tks