Features 📝
- The progress bar is divided into three segments: one for the filling area, another representing recent added value, and the last for recent loss of value.
- Changes are displayed using a catch-up animation, as in any modern game.
- Choose any floating number format for the UI.
- Highlight the current value using a Sprite that follows the progress bar fill amount.
- Flexible regeneration system allowing the value to be increased at runtime by a fixed amount, a percentage of the maximum value, or a percentage of the missing amount. All these options can be combined.
- Display the current value as a percentage.
- Easily add borders, an icon and a value indicator.
- Apply visual changes or start animations based on the fill percentage.
Custom Editors 🛠
- Inspector offers a wide range of options for quick customization. Editors are made with the UI Toolkit.
- Easy setup : Initialize the ProgressBar in your script, use the inspector buttons to change the current value or maximum value during playback mode in the editor to test it immediately.
Compatibility ✅
- Supports horizontal, vertical or circular bars. Using the uGUI at runtime to ensure maximum compatibility with different versions of Unity (from 2021.3 up to Unity 6).
- The progress bar is made of Image components to facilitate its use and modification.
- All canvas types.
- All Render Pipelines.
Resource System 💡
- Manage as many values as you need : Health, Mana, Experience etc. With or without a progress bar. Learn more about it here.
- Discover very basic components that can be reused in any project. Want to ensure that a value never exceeds certain limits while modifying the limits during gameplay ? No problem.
Code ⚙
- Clear and extensible API, most properties are protected and methods are virtual so they can be overloaded.
- The code has been factored to be reduced to the bare minimum.
- Events system made with EventHandler to trigger your own script methods.
- Numerous examples are included with explanations to help you understand how to build similar scenes.
- All the code is commented out, and regions hide/show the different parts.
Performance 🚀
- Includes a performance demonstration to show that the system requires very little calculation time.
- Mature project with a year of updates already.
Scripting API 🔧
Documentation 📁
Third Party Assets
This package uses various third party assets as examples under the Creative Common Zero (CC0) license :
- Simple Health Bars by Cethiel.
- Health Orb 1.1 by itsmars.
- Board Game Icons (1.1) by Kenney.
Asset under the SIL Open Font License, Version 1.1 :
- Electrolize by Gaslight.