Health Bar Image Unity. In our case it should be horizontal. Make your health bar a child object of your enemy object.

Creating the health bar. In our case it should be horizontal. If you want to do a health bar which fills up and depletes then you should first create the background as a black image and then the filling as a child of that image in the color you want.
In 3rd person games these health bars on characters if not dealt properly can cost you minimum of 15 20 fps.
You then need to apply a source image to the image component so that the image type drop down menu becomes available. Unity by itself contains a feature to control the level of a health bar. Well trust me on this one. This way you won t have to think about setting each and every health bar to the correct object because the.