- Home /
Question by
febs1488 · Jun 26, 2012 at 05:11 PM ·
timertimer countdown
How to make a chronometer ??
I Need to make a chronometer that begins from a certain time, say 60 seconds and reaches zero.
Comment
Answer by Berenger · Jun 26, 2012 at 05:49 PM
You need an object that initializes a float at 60, that updates it each frame by substracting Time.deltaTime and that checks each frame if it's value is < 0, in which case it does something.
As Meltdown says, knock yourself out !
Answer by JINJITOR · Nov 22, 2018 at 11:29 PM
make a coroutine and every time that it repeat, decrease a value by WAITFORSECONDS. boa sorte ai irmão.