Running Character Speed control for racing game

Hi all, I’m not a pro Unity user but have been asked to use it to create a simple track athlete racing game.

I was hoping someone could point me in the direction of where to start making a character control script which will increase the characters running speed as buttons are tapped faster and faster.

Many Thanks,

Jason

This should be fairly easy.
You have a method with a timer resetting every (let’s say) 500ms. During that 500ms it counts how often the specified button is pressed. After the 500ms it sets the running speed depending on how often it was pressed, resets the counter and then starts all over again.