Quantcast
Channel: Answers for "Start to Update() after X seconds"
Browsing all 4 articles
Browse latest View live

Answer by syclamoth

Try shifting all the logic you would usually put in Update into a coroutine that gets set off by Start. That way, you can put a yield WaitForSeconds(x seconds); before beginning on the rest of the...

View Article



Answer by Statement

I prefer [coroutines][1] for tasks like these. - `Start()` Your starting point that will run 3 waves of monsters. After for loop, show a victory screen for example. - `BeginWave(var wave : int)` Put...

View Article

Answer by syclamoth

Try shifting all the logic you would usually put in Update into a coroutine that gets set off by Start. That way, you can put a yield WaitForSeconds(x seconds); before beginning on the rest of the...

View Article

Answer by Statement

I prefer [coroutines][1] for tasks like these. - `Start()` Your starting point that will run 3 waves of monsters. After for loop, show a victory screen for example. - `BeginWave(var wave : int)` Put...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images