Hello, I have made this GUI in unity and I am stuck on how I make the Health, Mana and Magic bar go down after I do something to it.
Could someone please help me.
Thankyou Chris

Hello, I have made this GUI in unity and I am stuck on how I make the Health, Mana and Magic bar go down after I do something to it.
Could someone please help me.
Thankyou Chris

Use this,
var healthGUI : GUITexture;
var Health : float;
var healthGUIWidth = 1.4;
then in Update() healthGUI.pixelInset.xMax = healthGUI.pixelInset.xMin + healthGUIWidth * Health;