I have 2 game objects, each containing a GUI component(Component 1; Component 2), one of which is a HUD(Component 1), that I want to draw on top of everything. I added a background to Component 2, but it covers Component 1. I tried playing with the Z coordinates, but it doesn’t change anything. Is there a way to order game object rendering, or alternatively, another way to set a background for my game?
For GUI, it depends on the order of the game object containing it. It means the one stays upper will be drawn eariler
In that case, is there any way to reorder the game objects?
Change its id. It will sort by alphabet and number
Ok, thanks