- Home /
Place UI element in background (Behind ALLLL game objects)
Hey everyone,
So typically all canvas items will be in the forefront of the entire game for a 2d game. I need ONE element to be able to be behind the entire background.
My canvas setting is screen space - overlay
I really like that setting and I'd like to keep it that way, if I need to make a 2nd canvas with a different setting I'd be happy to do that. But I'm just having trouble understanding some of the answers that seem unrelated to what I'm doing.
Thanks!
Answer by kudox117 · May 18, 2019 at 05:56 AM
You can change the sorting layer of a canvas and every item inside the canvas will be in that layer. You can create a second canvas with your background object and set the sorthing layer to a layer lower than the rest of the objets.
it was the render camera that I was kept not doing from your answer, thanks! works great.
Answer by mp20022013 · Oct 25, 2021 at 12:55 AM
I do not find that option... I'm using Unity 2019.4.1