Answer the question
In order to leave comments, you need to log in
Overlay ui on top of regular sprites?
I'm making a 2D platformer. It should be like this. The background (UI), on top of it are ordinary objects (character, earth, etc.), and already on top of all this there should be a pause menu (also UI). The background and objects are arranged normally, first the background, then the sprites. But the sprites are overlaid on top of the pause menu. How can this be fixed?
Answer the question
In order to leave comments, you need to log in
In the settings of the object (sprite) on the stage, in the inspector there is an Additional Settings section in which you can configure the sprite layer, called Order in Layer. Thus, the object on the first layer will be overlapped by the object on the second.
in 3D, put the UI away on the Z coordinate, this works with any object on the stage
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question