Ask:
In Unity, I’ve a number of additive scenes, every with its personal digital camera and canvas. The canvases are configured within the display house: overlap and use their respective scene cameras. All canvases are within the predetermined layer with the identical order within the layer (0). How can I schedule or manually management the order of illustration of those canvases to make sure that they’re proven accurately when a number of additive scenes are loaded concurrently?
Desglosse of the stage:
Scene 1 (Loading Scene):
Digital camera 1: Most important digital camera for the loading scene.
Canvas: "Loading" | Render Mode: Display House - Overlay (utilizing Digital camera 1) | Layer: Default | Order in Layer: 0.
Scene 2 (Most important Gameplay Scene - Additive):
Digital camera 2: Most important digital camera for the gameplay scene.
Canvas: "Most important Gameplay" | Render Mode: Display House - Overlay (utilizing Digital camera 2) | Layer: Default | Order in Layer: 0.
Scene 3 (Popup Scene - Additive):
Digital camera 3: Digital camera for the popup scene.
Canvas: "Popup" | Render Mode: Display House - Overlay (utilizing Digital camera 3) | Layer: Default | Order in Layer: 0.
Downside :
When a number of additive scenes are loaded, all canvases are configured within the display house: overlap and use their respective cameras. Since they share the identical order in layer (0) and are within the default layer, their order of illustration turns into unpredictable, which results in a possible overlap or an incorrect display.
Necessities:
- Management the order of canvases in a number of additive scenes.
- Be sure that the precise canvases (for instance, “rising window”) at all times work along with others (for instance, “primary recreation” or “load”))
- Obtain this programmatically or by handbook configuration.