- Home /
Question by
RayDawg · Jan 20, 2014 at 08:40 PM ·
guiguitexturehealth
How to prevent guitexture from vertically shrinking?
I have this healthbar set up:
GUI.Box(new Rect(5, 0, 300*(enemyCurrentHP/enemyMaxHP), 50), healthBarMeter);
For some odd reason, whenever the healthbar shrinks horizontally, it also shrinks vertically. Does anyone know how to prevent it from shrinking vertically?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613130946im_/https://answers.unity.com/themes/thub/images/avi.jpg)