Posted June 09, 2022 by Kottler
I implemented the repetitive background, it works as follows:
I have a LevelManager script attached to an object that also has a reference to the frog object.
There are three background object that are displayed, as soon as the frog approachs the end of the last background, a new background object is created after the position of the last one and the first one is destroyed.
I achieved this with the following script: