Page 1 of 1

Disabling Dialogue System UI

Posted: Sun Aug 21, 2022 5:22 am
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?

Re: Disabling Dialogue System UI

Posted: Sun Aug 21, 2022 7:59 am
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?