As the title says, when I create the GUI for my life bar, there isn’t anything showing up inside of it. I took the code from http://unity3d.com/support/documentation/Components/gui-Layout.html and instead of using public float playerEnergy = 1.0f; I used my own public float health = 50f; that I have been using in my whole script.
I do get the nice bar at the top, but no filler for the actual health. Even when I use the playerEnergy = 1.0f; I do not get anything in the bar. What gives here?