Quantcast
Browsing latest articles
Browse All 4 View Live

Answer by Bunny83

You don't understand how coroutines works. When calling RandomPowerup in Update the function returns immediately and just starts a new coroutine that runs on its own. Since you start a new one each...

View Article


Answer by Bunny83

Another way would be to Use an infinite loop inside the Coroutine. But the disadvantage is that you can't stop it from outside. To be able to stop it you could again use a boolean outside of the...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>