Duplicating and Instantiating a UI Image next to the previous.
[1]: /storage/temp/74130-screen-shot-2016-07-15-at-25135-pm.png
Hello Everyone. I'm trying to implement ye ole' heart heath UI in my game and can't quite figure out what I need to do in order to instantiate the hearts, right next to each other, as shown in here. I was thinking of cheating it and just changing out the sprite to use several different images depending on health percentage. However at some point I will allow them to gain more max health depending on their level etc.. So I decided to go with the instantiate route. Just a little frozen at this point trying to figure it out.
Your answer
![](https://koobas.hobune.stream/wayback/20220612084911im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Making object follow finger? 1 Answer
Screenshot to variable 0 Answers
How to instantiate various prefabs above a sprite and center them. 0 Answers
Android sadk path Error 0 Answers