make background run loop

how can i make background run and run in loop? i mean when game start player just have action at the sam place but backgrund is runner . so how can i let it run and loop on it?

It depends on what kind of background you have, if it’s just a flat image then syclamoth’s answer is a good solution. If it’s several objects you can have them in two parented instances where you move the past instance when you’re at the middle of the later one. This can for instance be done with triggers:

/* Put this script on both objects */
var otherBackgroundObject : GameObject; //The parent of the other instance
private var bgWidth : float = 500.0; //The width of one background object

function OnTriggerEnter (other : Collider) {
	if (!other.CompareTag("Player")) return;
	otherBackgroundObject.transform.localPosition.x+=bgWidth*2;
}