2d endless runer background scroll problem

I need to make a prototype game same as " line runner" , a popular game for mobile.
Just for learning unity 3d.
I have a jpeg that could be stitched and look fine. ( like a pattern)
But how do i delete it when the background is now no longer in camera???
Need a detailed and a complete description since i’m a noob Sorry…:confused:
Thanks in advance

Have a shifting UV map, and don’t move the plane that its on. Here’s a link to Mesh.uv. You can also simply shift the texture with offsets. If you really need the actual background to move, just Instantiate a new plane right after the old one.