

In our new scene, we’re going to create an empty game object and we’ll call it Player. If you have an existing project, feel free to use it for this lesson otherwise create a new project.
#Keyshape prefab unity how to#
In this tutorial, we’ll be guiding you on how to create a very simple health bar that you can EASILY apply to anything like player, enemy, objects or etc. On a serious note though, we’re very lucky that making a health bar is very easy to accomplish, special thanks to Unity for providing us game developers a UI system where we can easily modify each interface to display different kinds of things like Loading bar, power bar, time progress bar, etc.

Speaking of MOBA, we’re very happy to announce that we’re having a partnership with Raid Sha- just kidding. There are moments that you will see the health bar placed at the top of the player’s character especially if the game is a MOBA or Multiplayer online battle arena. Of course, that’s not the only type of HUD that you will see in video games. If you’re not sure what it is, it’s the graphic that you see mostly at the top-left corner of the screen ( depends on the game). Most health bars are displayed using HUD or Heads-up Display. ( Yes, I know there are games that don’t use “health bars” but they still use health to kill players, you get the point.) Of course, if there’s no health in video games, then players will never lose. One of the most common things that we see in video games is a health bar.
