i want to make many lines use line renderer and i need double array. One of them is number of lines, and other one is data of points position.
...
positions[n + 1] = new Vector3(positions[n].x + Bxpe, positions[n].y + Bype, positions[n].z + Bzpe);
linerenderer.SetPositions(positions);
...
it work when number of line is one but
...
positions[z,n + 1] = new Vector3(positions[n].x + Bxpe, positions[n].y + Bype, positions[n].z + Bzpe);
linerenderer[1].SetPositions(positions[???]);
...
when i want to make like this, i dont know how write it right way.
pleace help