how to make a counter down with UI unity code example
Example: how to create a coutdown time in unity
float timeLeft = 30.0f;
void Update()
{
timeLeft -= Time.deltaTime;
if(timeLeft < 0)
{
GameOver();
}
}