- Home /
Question by
Pixeltoffee · Oct 08, 2015 at 10:42 AM ·
spriteimagescalewidth
How to realize Image.fillAmount with Sprites in game?
The fillAmount value of an image is a good way to realize a healthbar in UI.
But how can I realize it when my healthbar is a child of a character and insofar a GameObject with sprite component instaed of an image?
Thanks in Advance!
Comment
Your answer
Follow this Question
Related Questions
doubt with pixels per unit 1 Answer
Adjust overlay position for different resolutions 0 Answers
Is it better to enlarge an image by width/height or by scale? 0 Answers
How can I put the single pieces of a sliced Sprite into an array? 0 Answers
change gameobjects size/scale acording to screen width? 0 Answers