Overriding Dialogue UI and render modes for a single scene?
Posted: Fri Jan 22, 2021 7:51 pm
Hi,
I have a single scene that uses a different Dialogue UI (an SMS conversation) to the rest of my scenes (basic overhead bubbles).
I'd like to be able to apply some of Unity's post processing and vcam camera effects (i.e a screen shake and some bloom) to the SMS dialogue UI, so I'm setting the render mode to World Space.
This works, but I'm using a Dialogue UI prefab with a default Screen Space Overlay which instantiates in the menu and persists, I'd like to make sure the UI is changed from its default Screen Space to a temporary World Space for the SMS scene, then changed back for the next scene.
The best way I can think to do this is just to have a check on my Game Manager script to get the camera and canvas on scene load and assign everything that way, but I wanted to make sure I wasn't missing something. Is there a more graceful way of temporarily overriding both the Dialogue UI and its render mode already built into Dialogue System? Thanks,
- A
I have a single scene that uses a different Dialogue UI (an SMS conversation) to the rest of my scenes (basic overhead bubbles).
I'd like to be able to apply some of Unity's post processing and vcam camera effects (i.e a screen shake and some bloom) to the SMS dialogue UI, so I'm setting the render mode to World Space.
This works, but I'm using a Dialogue UI prefab with a default Screen Space Overlay which instantiates in the menu and persists, I'd like to make sure the UI is changed from its default Screen Space to a temporary World Space for the SMS scene, then changed back for the next scene.
The best way I can think to do this is just to have a check on my Game Manager script to get the camera and canvas on scene load and assign everything that way, but I wanted to make sure I wasn't missing something. Is there a more graceful way of temporarily overriding both the Dialogue UI and its render mode already built into Dialogue System? Thanks,
- A