Why using Coroutines when you can just use a timer?

I’m new to this coroutine thing… and prefer to avoid them (because i heard that it has a bad reputation and should be used at last resort).

There’s nothing wrong with coroutines and whoever told you they’re bad is wrong, imo. They are pretty much exactly the same as the Update function, but with more control. But that doesn’t mean you have to use them. When I first started Unity, it took me a while to fully understand what they are and how they work. If you can figure out how to do it in Update instead, nothing is stopping you from doing that.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms