Simple health GUI system, that indicates health in numbers

Hi.

I was thinking about creating a simple health indicator for my game, that could show the player’s health in numbers.

If you have a health variable, that is as simple as putting (somewhere in your OnGUI function)

GUILayout.Label("Current Health: " + health);

Of course, if you’re not already keeping track of health in some variable, it’ll be a lot harder.