View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2020.3.30 or later
- Package size
- 2.1 MB
- Files
- 119
- Favorites
- 3
- Views in the past week
- 7
- Requires
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.00 on
Keywords
Energy System
Most games have a way where objects inflict damage into each other and recover from them using some item. This Energy System package adds this and others features to your game.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 7
Energy System screenshot 1
About this asset
Energy System is a simple package where you will find easy to use, whether you have any scripting knowledge or not. You can set all necessary data using the Inspector.
The System was projected using the concept of Damager, Damageable and Energy objects.
A Damager GameObject can damage Damageables GameObjects, reducing its Energy. They can recover Energy using EnergyRecover GameObjects. A Damageable may have an Energy component and this can be shown in the UI by using an EnergyBar.
If you want to get into scripts, Events are available so other scripts can easily get notified when some actions are executed, like when the energy ends, increases etc.
Read the full documentation for more information.
From the publisher's Asset Store listing.
Technical details
- Source code is fully documented
- Serializable attributes have describing tooltips
- Works perfectly with 2D or 3D colliders thanks to Collider Adapter package
- Designed following the Entity Component System (ECS)
- Small components following the Single Responsibility Principle
- Components with Events to easily notify other scripts
- Shows Energy Bar using UI
- Compatible with Unity 2019, 2020 and 2021 LTS versions.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2020.3.30f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.