10-29-2016, 04:38 PM
Can i make dynamic code to spawn flys like my images with only 1 path?
(move parallel to the path)
my code:
inst = shapesPool.Spawn(this._Cube);
shapesPool.Spawn(_Cube).GetComponent<SplineController>().Spline = sppath;
sppath.Refresh();
(move parallel to the path)
my code:
inst = shapesPool.Spawn(this._Cube);
shapesPool.Spawn(_Cube).GetComponent<SplineController>().Spline = sppath;
sppath.Refresh();
![[Image: anh1.jpg]](https://forum.duytan.edu.vn/uploads/anh1.jpg)