- Home /
Question by
lonmarrgwap · Mar 09, 2016 at 07:16 PM ·
timetimercountdowndeltatime
countdown timer acivation
how can i create a countdown timer that can activate on all scene.?..
Comment
Answer by DuckWare Games · Mar 09, 2016 at 09:36 PM
You can achieve the countdown to run on every scene by creating a script like the one below and then just assign it on a gameobject on the screen (if the script it's not running by itself)
void Start()
{
StartCoroutine(Countdown);
}
IEnumerator Countdown()
{
//set wait time
yield return new WaitForSeconds(1);
//do something
}
Your answer
Follow this Question
Related Questions
CountDown Timer Help (Seconds problem) 2 Answers
Time does not start counting down when need to 1 Answer
Format String Minutes:Seconds 3 Answers
Stop and Resume Timer 0 Answers
Start timer with trigger 1 Answer