View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.50 or later
- Package size
- 41 KB
- Files
- 37
- Favorites
- 1
- Views in the past week
- 14
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $24.99 on
Keywords
Energy & Lives System - Stamina, Hearts & Regen Timers
- Price drop
Lives and energy that refill over real time, cheat-proof and offline-ready. Spend, refill from an ad or a purchase, and show the countdown, all in a couple of lines.
Lowest recorded price
Get 50% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Energy & Lives System - Stamina, Hearts & Regen Timers screenshot 1
About this asset
No SDK is bundled or required. Server time, if you use it, reads a URL you choose. Optional device reminders use Unity's own Mobile Notifications package, which you install.
Lives and energy that refill over real time. Drop it in, press Play, ship.
What it does
- Lives, energy, action points, attempt limits and build timers, each its own pool
- Refills over real time, with offline catch-up and a max cap
- A player cannot get free refills by changing the device clock
- Refill from a rewarded ad, a purchase, a gift or currency, in one call
- Lock it down with server time, or run fully offline with a rollback guard
- Ready countdowns, plus a drop-in lives row and energy bar
What's included
- Drop-in uGUI views, an IMGUI demo, a setup window, and one-click demo scenes
- Readable C# source and full documentation
Good to know
- It secures time, which is what protects timed regen. It does not encrypt your save file.
- The same code runs offline and against a server, so you build first and lock down later.
- It never touches your economy. You decide what an ad or a purchase grants and call one method.
Requirements
- Unity 2021.3 or newer. Works with Built-in, URP and HDRP.
Support
From the publisher's Asset Store listing.
Technical details
One manager holds your pools, keeps them current with a guarded and optionally server-synced clock, saves to PlayerPrefs or a file, and raises events when amounts change. Time is read through an interface, so you can swap the device clock for a server clock without changing your game code. Server time reads any URL's Date header, so no custom endpoint is needed, and there is a seam for your own provider and your own save store.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.50f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.