Unity Line Graph, Take a look at the GL class, you can draw in 3D (or flattened 3D == 2D) : docs.