In a recent video, I covered how to make a floating progress bar (health, stamina, mana, etc). This asset pack is an evolution of what was done in the video. I've created some bar sprites that I can include in the asset pack, as well as put together a couple of prefabs that you should just be able to drop into your project.
The new code includes some editor-specific functions so that any changes you make to the colour or dimensions of the bar will be shown in the editor, not just at runtime. On the subject of making changes, everything is now handled in one inspector component. The only reason you will need to mess around with the children of the prefab is if you want to change the sprites used.
If you do want to swap out the sprites, just make sure they are sliced (that's covered in the video if you're unsure how) and that the borders are small enough to work as a progress bar.
To update the bar, simply grab a reference to the BarController script and call the UpdateBar(int _currentValue, int _maxValue) function. As the parameters suggest, you just pass in the max value of the bar and the current value, it will handle the rest.
And thassit. I don't know if any of you need or want this, but it's there if you do. Thank you for all your support!