12-14-2018, 04:23 PM (This post was last modified: 12-14-2018, 04:27 PM by _Aka_.)
Hi,
Your issue can be subdivided in two:
1- Creating the path:
I advise you to use a Bézier spline. You can create the spline either manually, by placing the control points and Bézier handles yourself, or via the API. If you look at the method CSRoundedRectangle.ApplyShape(), you can see how rounded rectangles are build using the API. I mentioned rounded rectangles because their corners seem similar to what you want to draw
2- Adding the dots:
You can indeed use a Curvy Generator to fill the path with sphere meshes/game objects. To animate them, you can either use a Spline Controller on each sphere to make it move along a spline (by setting their Position and Speed), or write a single script that moves all the spheres at once. This will have better performance, CPU wise, than having a script for each sphere, especially if you have a lot of them.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.