Made a Canvas, added Image, stretched. It turned out well, only covers all objects outside the canvas. I rearranged the values ​​in Canvas Renderer Screen Space Camera - I got a great background. But the UI buttons are now also in the background. And now everything that is not on the canvas is in the foreground.

The question is how to divide Canvas elements in such a way that some of them are further from the viewer than objects outside the canvas, and which are in the foreground, Screen Overlay?

    1 answer 1

    Everything before the banality is simple - we create the second Canvas, dictate our rules there and transfer the necessary objects there.

    • one
      and unless to move object lower in hierarchy of canvas it will not come up on the foreground? It seems to be - Alexey Shimansky
    • @ AlekseyShimansky Will emerge, but only in relation to other components there. And if it is necessary for some to be above objects NOT NOT to a canvas, and others below these objects - then in any way. - Dmitrii
    • one
      Something I did not see where in your question objects are NOT NOT a canvas. I would recommend for the future to state more clearly, perhaps to apply screenshots. And then they are some kind of blurry and incomprehensible, then strange) - Alexey Shimansky
    • @ Alexey Shimansky Thank you! Corrected, now more and more clearly. - Dmitrii
    • @Dmitrii is actually possible. This is a long story with customizing layers and an additional camera, but you can make scene objects on top of the canvas. If interested, then I already did this: stackoverflow.com/questions/53480971/… - trollingchar