I want to make a healthbar like this:
I've noticed that in settings there are multiple options for background image etc. I tried building it using a GUIBox with custom skin in combination with HUD and Status Element. I however never achieved what you see in the picture and I find it extremely complicated to achieve such a simple thing.
I've been thinking of making a custom solution where I would execute my own function tied to the HPBar prefab in the Status change event, but I wanted to avoid making too many custom things. Any advice?
Later I want to achieve this for the player himself: