Hello,
I can’t get my head around the maths required to reverse my GUI bar. Basically, I have a GUI health bar, that when it decreases, it shrinks on the right side (the left is always static), and the right moves towards the left.
I want to reverse that. So the right is static, and the left moves towards the right.
var healthSize = (playersHealth/100) * 113;
GUI.DrawTexture(Rect(152, 47, healthSize, 13), healthBar);
Help me out please,
Thanks