i have the GUI bullet bar script but how can i make them go down each 5 Bullets?
it looks like this:
|||||||||||||||||||||||||||||||||||||||||||||
but i want it like this:
|||||||||||||||||||||||
||||||||||||||||||||||
how can i make this?
for (var i : int = 1; i <= BulletsLeft; i++){
GUI.DrawTexture(Rect(10 + ((i - 1) * (BulletTexture.width + 2)), 10, BulletTexture.width, BulletTexture.height), BulletTexture);
}