Hello, im creating an endless runner game with a cube1x1 moving on a platform with width od 5. Now im trying to make a random terrain generator that will put blocks on the platform, like 1x1 2x1 3x1 … and make platform move to the side, like first i have platform 5x60 on position x=0 and then next one to be on x=2 and so on. Platforms should change lengths aswell. I tried to make all the prefabs and use pooling, but it just seams to be too much work. I would appreciate if someone can give me an idea of what to use. Thanks!
So i’ve done something like this in the past for brackeyes beginner series. what i did is i had prefabs of obastcles wich i then instanced through code run by a levelBuilder. The prefabs had a script wich destroyed them onbecomeinvisible and then called the builder to spawn a new one. hope you understodd