Question by
OttoClausen · Jul 28, 2016 at 12:25 PM ·
linerendererbatchingdrawlinesalternative
Drawing simple 2d lines without LineRenderer
I am working on optimizing my 2d platform game and I am having some performance issues. To solve this I work on reducing draw calls but I have run into a problem. My game contains laser beams and chains that I have made using the LineRenderer component, but from what I understand even though I use the same material these lines wont batch. I am looking for an alternative to the LineRenderer to get better performance.
Is there another way I can draw lines in 2D? I would love a tutorial or some kind of code to look at
Comment