This is a paid asset, but now you can download Time-Based Life System Pro for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
For more detail this asset from the Unity Asset Store: Click Here
Time-Based Life System v2.1
“If possible, please buy the package to support the developer”
The essential asset for mobile free-to-play (F2P) games!
Create a local time-based life system with a single prefab and just a few lines of code.
Easy configuration for maximum number of lives and time to recover.
Features
– Per-user maximum number of lives.
– Support for infinite lives.
– Support for multiple life systems in the same game.
– iOS and Android notifications when lives are replenished.
– “All or Nothing” mode available (replenish all lives only when all of them have been consumed).
– Advanced inspector debugging.
– Support for implementing your own data provider.
– Use with any UI framework: legacy UIs, uGUI, NGUI, etc.
– Several pre-configured display styles to use in your games.
– Show lives as sprites or text.
– Source code based on SOLID principles for easy extendability.
Full and detailed documentation and demo scenes included.
Try the demo app on Android here
OR
Watch it live in this published game for Android and iOS.