So my requirement is to spawn one road after another like endless runner,
youtube.com/watch
I tried to use "SPawn" function but it spawn road on all the instance of the roads but what i want to do is to spawn road instance only on the last instance of the road like in the video.
I hope you understood my problem.
In other words I want to spawn road prefabs in such way that it connects to the last instance of road prefab, currently it creates object on all the instance of roads