This trailer is showcasing my last unity asset : a flexible and complete progress bar system. Compatible with Unity 2021.3 to Unity 6.
Main features
Custom Inspector offers a wide range of options for quick customization. Editors are made with UI Toolkit.
Supports horizontal, vertical or circular bars. Using the uGUI at runtime to ensure maximum compatibility with different versions of Unity.
The progress bar consists of three segments: one for the fill area, another representing the increasing value, and the last for the decreasing value. Recent 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 follow the ProgressBar fill amount.
Resource system to manage as many value as you need : Health, Mana, Experience etc. With or without a progress bar.
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.
Events system made with EventHandler to trigger your own script methods for example when the Progress Bar is depleted.
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.
All the code is commented out, and regions hide/show the different parts.
Numerous examples are included with explanations to help you understand how to build similar scenes.
Includes a performance demonstration to show that the system requires very little calculation time. Updating the Canvas takes the most time, but this is native to the engine.