View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.3.8 or later
- Package size
- 229 KB
- Files
- 15
- Favorites
- 7
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Delayed Actions
Hate Coroutines? Hate single use countdowns? Me too. Delayed Actions is single: Do A after X seconds. Thats it.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
Delayed Actions screenshot 1
About this asset
This tool can be used in any game, any project.
With Delayed Actions you can perform an Action (delegate) at a given time.
Common uses/replacements:
- One time cooldowns
- Periodic cooldowns
- Visual player feedback/animations
- Gameplay flow events
- Delayed scene loading and unloading, fade in/outs
- Random timer events, ambient sounds
From the publisher's Asset Store listing.
Technical details
- DelayedActions.Do(...) to schedule an action in the future
- DelayedActions.Abort(...) to abort any action
- DelayedActions.Sequence(...) creat ea sequence of events
- Other queries
There is an interactive tutotial in the SampleScene :)
Actions may have a name (debug purposes only) and an ID.
A DelayedActionsInScene object will be created in DontDestroyOnLoad; that object is essential to the system and it also shows scheduled actions in the inspector.
DelayedActions works with in-scene time.
Updates on update (real time waited may vary as much as one frame)
It executes on the main thread, but you might encounter typical concurrent programming issues.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.8f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.