Countdown (373287)

I just wondered how you can use Unity’s time to make say a countdown timer, so that when the times up something happens..?
Thanks

You can have a timeLeft property, and then subtract time.deltaTime inside Update

To display it, you can either scale an object (for a bar), or use a textmesh…

Of course! I know about deltaTime and I know update! Why don’t my brain function anymore? I need some air…

Thanks though!

Ok, I’ve had my walk; Im better now…

So how do I get to change the text parameter in textMesh? Just:

MytextmeshName.text = "blabla"; //??