how to make a tiling background?

hi people, i need help on how can i tile a background for my game.
For example like this video.

they tile the background maybe infinitely, because it dependes on how much time the user is during in the air.

i hope you can help me guys, thanks!!

An easy way to do this kind of thing is to animate the texture offset of the material. It requires that your material tile. If you search the list you will find a number of examples. Here is one link:

http://answers.unity3d.com/questions/19848/making-textures-scroll-animate-textures.html

The code at this link animates over time. You would have to change that to animating based on the player’s distance.