If you’re new to Unity, you may have heard some phrases being tossed around like “coroutine” and “yield”.
What is a coroutine you ask? Wait a minute, I can tell a method to pause for a frame and then continue doing whatever it was it was doing? Huh? I can specify an amount of time (in seconds) that I can pause the function for, too?
I know there are some people out there probably calling b/s but I’m being serious here. Yes, you can do all of the aforementioned with a coroutine.
Read the rest of this entry »