View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.2.2
- Last updated
- First released
- Unity version
- 2021.3.14 or later
- Package size
- 338 KB
- Files
- 29
- Favorites
- 92
- Views in the past week
- 18
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Moroutines
Moroutines - is a C# library written for Unity to extend working with coroutines.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 11
Moroutines screenshot 1
About this asset
Moroutines transfer work with coroutines to steroids! A lot of the things you stumbled over while working with coroutines have been improved and given to you wholeheartedly. Moroutines adhere to the philosophy of coroutines, but expand the functionality of working with them.
Here are the disadvantages that coroutines have:
- Coroutines do not store information about their state (reseted, running, stopped, completed or destroyed).
- Coroutines cannot be paused/reset and then started while continuing its execution.
- No ability to wait (yield) pause or play coroutine.
- Coroutines do not know how to return a result.
- Coroutines cannot be grouped for easy control.
- A coroutine does not store information about its owner object.
- Game objects do not display information about the coroutines that are associated with them.
- No way to create an unowned coroutine.
- There is no way to wait (yield) the execution of several coroutines
- Coroutines do not have state change events.
- Coroutines B and C cannot wait (yield) for coroutine A at the same time.
- There is no way to add a delay (in seconds or frames) before starting an existing coroutine.
- Coroutines don't have names, they harder to filter and harder to debug.
- And other shortcomings.
Moroutines excludes the disadvantages listed above. You can easily control the coroutine with just a couple of lines of code, determine its state, react to events, and so on.
Just read documentation on github.
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.14f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.