Disabling Dialogue System UI

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SuperSparkplug
Posts: 65
Joined: Fri Feb 06, 2015 3:51 pm

Disabling Dialogue System UI

Post by SuperSparkplug »

I have a point in the conversation where I want the UI to disappear for a few seconds to go to the next dialogue node. Previously, I was told to use this code and it did work, but now it's suddenly not working.

required SetContinueMode(false);
required SetEnabled(Canvas, false, DialogueCanvas);
required SetEnabled(Canvas, true, DialogueCanvas)@3;
required SetContinueMode(true)@3;

Any idea why? Should I be doing something else?
User avatar
Tony Li
Posts: 21055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Disabling Dialogue System UI

Post by Tony Li »

Hi,

Make sure the canvas that contains your dialogue UI is still named "DialogueCanvas" and that there are no other GameObjects named "DialogueCanvas".

(Obscure technical note that you can probably ignore: Technically you can have multiple GameObjects named DialogueCanvas as long as you add a SequencerShortcuts component to your Dialogue Manager and assign the correct DialogueManager to its References Subjects list.)

Are there any errors or warnings in the Console window?
Post Reply