Changing Scene and New UI Problem

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
slothins
Posts: 13
Joined: Thu Oct 24, 2019 11:18 am

Changing Scene and New UI Problem

Post by slothins »

Hey,

First of all, thanks a ton for helping me with all these questions.

So I have a intro scene that leads into the game, with the intro scene having a unique UI. I've tried adding a Override Dialogue UI to the Dialogue Manager of the game scene, but it acts weird. It transitions to the next scene, but it still has the old UI and fades after clicking the continue button once.

Any suggestoins?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing Scene and New UI Problem

Post by Tony Li »

Hi,

Here's an example:

DS_TestOverrideUI_2019-12-06.unitypackage

You can import it, add "Test UI 1" and "Test UI 2" to build settings, and play "Test UI 1".

The Test UI 1 scene has a GameObject with a Dialogue System Trigger and an an Override Dialogue UI. The Override Dialogue UI points to the Letterbox prefab. At the end of its conversation, it loads the Test UI 2 scene.

The Test UI 2 scene has a GameObject with a Dialogue System Trigger. It doesn't have an Override Dialogue UI, so it uses the Dialogue Manager's default dialogue UI.
Post Reply