Coroutine Management

DTT

(6)
$15
Publisher DTT
File size 16.81MB
Number of files 199
Latest version 7.1.1
Latest release date 2022-05-31 06:27:13
First release date 2022-01-05 10:35:15
Supported Unity versions 2018.4.2 or higher

The Coroutine Management package can be used as a replacement for Unity’s standard Coroutine management (i.e. MonoBehaviour.StartCoroutine(Coroutine)).


This asset will help you with making the delayed calls that you need using your own custom conditions. The package contains a static class called CoroutineManager that can be used to wait before a method is executed. Our coroutine features range from very simple (waiting for a couple of seconds) to more complex (waiting for multiple conditions or waiting for frames).


Features

  • Centralize your coroutines, never again will your get exceptions related to your gameObject being destroyed.
  • Start coroutines even on classes that are not inherited from MonoBehaviour.
  • Wait: Provide a duration and the code will be executed after the duration has passed.
  • WaitUntil: Provide a condition and the code will be executed afterward.
  • WaitForAny: Provide a collection of conditions and the code will be executed after any of them evaluate as true.
  • WaitForAll: Provide a collection of conditions and the code will be executed after all of them evaluate as true.
  • WaitForFrames: Provide a number of frames and the code will be executed after the number of frames has passed.
  • WaitForEndOfFrame: The code will be executed after the end of the current frame.
  • WaitForCustomYield: Wait for your YielldInstruction before executing the code.
  • Tested and optimized for mobile platforms (iOS and Android) and web (WebGL).

More assets by DTT


Curious about what else we got to offer?

Please check out our publisher page or visit our website!


A question or suggestion? We would love to hear from you.

We are always looking to improve our assets to suit your needs.


If you have any questions (before or after purchasing it), always feel free to contact us at: [email protected]. (We typically respond within 4-5 business days)


❤️ Reviews are very much appreciated, we love to hear what you think of the asset.

Top Publisher Assets