image hierarchy issue in UGUI
Hi guys, I am newbie to Unity.
I created two empty sprites in hierarchy window under canvas One assign image by add "image component", the other by script to add a mesh render.
No matter how I adjust the layer or hierarchy. The result is the "add image component" one always in front of the other. I can't find the way to make the hierarchy right.
Thanks for the help.
Answer by davidkm12033 · Apr 24, 2018 at 01:05 PM
another example of hierarchy issue is:
Gameobject player_red1 is always behind the white circle. However, Gameobject player_red2 use the same adding component - "image", assign image source method, has no issue to show in front.
Your answer
![](https://koobas.hobune.stream/wayback/20220612161427im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to Create a list of images from a video 0 Answers
Unity removes all objects includes the main camera in Hierarchy when i start test play 2 Answers
Create gameobject in hierarchy on Unity refresh but before Play mode 0 Answers
lod with animted hierarchy,question about lod implementation on animated hierarchy with animator 0 Answers