- Home /
How to fix UI healthbar
Hello i am making a game and i need help fixing my health bar it works and my health goes down and my Player dies when it reaches 0 health but the health bar closes in on its self instead of going from right to left. I did what i was supposed to do in the inspector and when i alter the Fill Amount it works but when i start the game it no longer works so if anyone could help me that'd be awesome:)
Answer by R_i_c_h_u · May 17, 2018 at 04:56 PM
This is pretty simple. All you gotta do is change the pivot point of x from 0.5 to 0 in Rect Transform in the inspector.
Bro you have no idea how much i've been stressing over that lmao thank you so much it works now
Your answer

Follow this Question
Related Questions
Is performance relevant how assign sprites in inspector ? 0 Answers
Health Bar in Custom Editor/Inspector 1 Answer
Health Meter (image array) with Level Up feature. 1 Answer
[Uni2D + Unity Inspector] Unity extremely slow, when a Sprite is selected 4 Answers
Inspector scripting, adding lists, checkboxes and buttons [With Image] 0 Answers