Publisher | Iterant Games |
---|---|
File size | 171.08kB |
Number of files | 12 |
Latest version | 1 |
Latest release date | 2023-06-09 01:59:13 |
First release date | 2023-06-09 01:59:13 |
Supported Unity versions | 2018.4.2 or higher |
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.
Features
- Easily wait for
- Frames
- Seconds
- SecondsWhilePaused (ignores Time.timeScale)
- Until any condition you specify is satisfied
- Any 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)
Documentation