unity how to make a second counter code example
Example: second counter unity
float timer = 0.0f;
void Update()
{
timer += Time.deltaTime;
int seconds = timer % 60;
}
float timer = 0.0f;
void Update()
{
timer += Time.deltaTime;
int seconds = timer % 60;
}