- Home /
Order Issues - How to order UI correctly - Canvas, Sprite, Panel with Background (Image)
Hi, I have an issue with the ordering of my UI Elements in a "menu" Level I created.
I have a Canvas to be able to scale all elements depending on the screen size. Within this canvas I have different buttons and a sprite (with animation). Both elements should always be visible. By clicking on a button another image should appear with additional context. This image should be overlayed over the other elements and is slightly transparent.
The issue is the following: When I activate the overlay, either the overlay is displayed between the buttons and the sprite (not overlaying the sprite). This is the case for all z values >=-2 Or the image overlays the sprite but the sprite disappears in the back (it should be slightly visible like the buttons are). This is the case for all z values <=-3
Here the settings for the Sprite and the Buttons:
All elements within the canvas are on layer "default". And wherever asked Sorting Laver = 0, Order in Layer = 0.
Im sorry if this question is stupid or easy to anwser, but Im struggling now for a while with this and I could not find any help in the internet so far.
Thanks a lot! Winthir
Your answer
Follow this Question
Related Questions
Sprite import problem? 1 Answer
Change UI GUI Image Sprite at runtime .. Unity 5 .. js 1 Answer
Weird UI.image with not sprite, chooses random sprite based on position. 2 Answers
Can't change Image sprite because in rebuild loop? 2 Answers
How to match UI Image size with sprite size at runtime? 2 Answers