Wait! is a coroutine utility that lets you use declarative syntax to write coroutines
Please note: More Effective Coroutines is a (free) dependency, you will need to download that as well (see Desc.)Wait! is a wrapper that provides easy declarative syntax for the More Effective Coroutines package which lets you run coroutines anywhere in your code, not just in MonoBehaviours.It can be used for simple timings like waiting until the next frame or for any number of seconds as well as more complex timings such as waiting for 3 seconds after an object is in position. It's very easy to compose multiple timings how ever you choose.FeaturesEasily wait forFramesSecondsSecondsWhilePaused (ignores Time.timeScale)Until any condition you specify is satisfiedAny combination of the above!Repeat your wait any number of times or indefinitely.Chain waits together. (eg. wait until 5 seconds after a condition is complete)Group waits to stop, pause, or resume them all together.Specify an action that runs when ever you start the wait.Run coroutines in any script, not just MonoBehaviors (thanks to More Effective Coroutines)Documentationhttps://www.iterantgames.com/docs/waitIncludesDemo scene with a dynamic Wait builder to see your options in action.Robust documentation both in a distributed PDF and online at our website.Well commented code with clear method summaries.Chat with the creator and get assistance with any questions or requests via a dedicated Discord channel.