For the last month I searched and tried to implement a health bar in my game.
I had no luck. Even though there are a million tutorials out there, I just didn’t found the correct one. Trust me, I tried about 10-15 code variants.
I need this :
Floating health bar (a bar with color red for example, not a text showing a number) over each of my spawned units (follows the unit, is not set in an area of the screen).
Would be nice to have the code in C#, if not I will try to adapt a JS code.
All I need is this magical piece of code which eludes me for so long. I even bought NGUIText and Health Bar scripts from the Asset Store. No luck as well…