This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ | |
// TeaTime v0.8.1 beta | |
// TeaTime is a fast & simple queue for timed callbacks, focused on solving | |
// common coroutines patterns in Unity games. | |
// Andrés Villalobos ~ twitter.com/matnesis ~ [email protected] | |
// Created 2014/12/26 12:21 am ~ Rewritten 2015/09/15 12:28 pm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CoroutineTests.cs -- Shane Celis | |
I was curious about how one could manually drive Unity's coroutines | |
without necessarily putting them into Unity's scheduler. At the | |
heart of it, it's really easy to manually drive them: | |
// Get the coroutine. | |
IEnumerator ienum = MyCoroutine(); | |
// Run it until it yields. |