Increasing speed using transform.Translate

transform.Translate (Vector3.down * Time.deltaTime);

The above line of code has all of my instatiated cubes running mic and smooth down the screen…

I want to increase the speed of the blocks after the user presses one…

But for the life of me I can’t figure it out…

Does anyone have any ideas… Or if they can point me in the right direction, i would greatly appreciate it… I am using C#

Thanks. ANDY (C#)

As robertbu says, yes. then you could use a floating var called speed, which you should increase the speed according you want. I think you could use the speed = Mathf.Min(speed + theIncrease, maxSpeedAllowed); for accelerating and same for decreasing the speed using Mathf.Max