arcade racing game time limit with time extensions

I am making a low poly arcade racer and i need a script that allows me to add a time limit to the game and extend the timer when a checkpoint is passed? how would I achieve this ?

You could place collision detection script and when your car passes by it, collides with the object. Checks the object and adds time to the time value. Every second you should take your time value and remove time.deltatime from it’s value as an update

Search on collision detection unity on Google.
Then to make sure your time is visible you could change a UI text gameobject to have the string corresponding to your time left visible on the screen. To do that out a canvas and just add a text game object in it .:slight_smile: