Waitress

$4
Publisher Atesh Entertainment
File size 392.22kB
Number of files 23
Latest version 1
Latest release date 2016-02-02 11:59:21
First release date 2015-10-16 06:52:23
Supported Unity versions 2018.4.2 or higher
Documentation
Source and More
Forum Thread

What is Waitress?

Waitress provides few helper classes which extend functionality of Unity's original waiting classes such as WaitForSeconds and WaitForEndOfFrame.

IMPORTANT FEATURES: All waitress classes can be used in regular (non-coroutine) methods and they are cancelable UNLIKE Unity's original waiting classes.

The extended classes are
* Timer: Waits for seconds. It supports UnscaledTime too.
* Framer: Waits for end of frame or next frame.
* FixedFramer: Waits for next fixed frame.

Waitress also provides a "Conditioner" class which can wait for a specific boolean condition you define.

Some of the extended waiting classes(Timer and Conditioner) also support "repeating" functionality.