09-16-2019, 07:08 AM
I don't find a documentation of the Prefab Pool and don't understand it's settings. Can you please explain it to me?
I have tried editing the spline on runtime, but that only generates new GameObjects and don't delete/disable/reuse the old ones.
Do I have to edit the spline on runtime to use pooling? What am I missing?
What I try to accomplish is similar to the infinite track example, but instead of a mesh I like to enable/disable GameObjects. So when my train passes the track, the sleepers behind the train should be placed in front.
I have tried editing the spline on runtime, but that only generates new GameObjects and don't delete/disable/reuse the old ones.
Do I have to edit the spline on runtime to use pooling? What am I missing?
What I try to accomplish is similar to the infinite track example, but instead of a mesh I like to enable/disable GameObjects. So when my train passes the track, the sleepers behind the train should be placed in front.