Update--version 3.0 available now! Get Vectrosity here.
Funny thing is, as Unity's graphics get ever more advanced, certain simple things are actually not that simple. Drawing lines, for example. There's the line renderer, but it has various limitations. There's GL.LINES, but that can be hard to work with and also has many limitations. Enter Vectrosity, which I hope addresses this lack and goes far beyond, too.
Drawing lines can be as simple as this:
Or you can even make complete vector-graphics games, like Battle Zone, Tempest, etc., not to mention all kinds of graphs, grids, selection boxes, and anything else to do with lines.
• Not a shader, works on iOS and Android, doesn't need Unity Pro.
• "Free" anti-aliasing when used with textures, which means you don't need FSAA to have anti-aliased lines.
• Can also use textures for making things like glowing lines without full-screen glow effects, dotted or dashed lines, etc.
• 3D, 2D, and point drawing. Lines can be any number of pixels thick.
• Can have continuous or discontinuous lines with arbitrary colors and widths for each segment. This way, with discrete lines, many "separate" lines can be drawn with a single draw call.
• Lines can have end caps, for making arrows, rounded ends, etc.
• Many functions for easily making boxes, circles, splines, etc.
• Fast -- lines only have to update when they change, so static lines take no extra CPU time, which means you can potentially have hundreds of thousands of line segments at high framerates. Even if you constantly update lines every frame, it draws 600K-700K line segments/second on a G5 Mac from 2005 (quite a bit more on modern CPUs).
• 3D vector lines aren't limited to triangles or 4-sided polygons; has a utility for quickly making customized 3D vector shapes from existing meshes, or can automatically make wireframes in code with one function call.
• Helper scripts for making 3D vector objects behave like standard game objects.
• Complete documentation (apparently good enough that someone deliberately bought two copies because of it--really), plus a reference guide covering all functions.
• Complete "Tank Zone" game project is included free, plus dozens of example scripts and demos.
• Low price, so most anyone can afford it.