Increasing speed

hi.
I have game that background has moving in it. My question is how can i make that to increasing backgound move speed during the game?

How is the background speed controlled? If you have a rigidbody, just increase its velocity. If you’re just gameobject.transform-ing it, create a seperate variable that represents how much it moves during one frame (one Update method call) and increase its value.

TheSOUL has the best idea, I would create a variable for your speed and then run it through a while loop.

isPlaying = false;
backgroundSpeed = 0;
timePlayed = 0;

while (isPlaying) {
timePlayed += Time.deltaTime
Switch:
timePlayed = 30
backgroundSpeed = 5
timePlayed = 60
backgroundSpeed = 10

^ is similar to something I would implement.