Long time programmer, Unity newb here. If I had a GameObject called a “Constellation” that has a bunch of children objects that are all “Stars”, how would I draw a line that connects all of the stars. Order doesn’t matter, but maybe simplest would be to draw a line from the first Star to the second, from the 2nd to the 3rd, etc.
In particular, where would one recommend putting the code to do this? And how do you generate vertices to plot on the fly (which is what I presume I’d have to do. If this kind of thing is covered in an existing tutorial, I’d love to be pointed in that direction. Thanks in advance.
If it matters, I am working in 2D mode.