Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Basel
Posts: 17
Joined: Tue Jul 19, 2022 1:07 pm

Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Basel »

Not sure how to ask this question, but I just want a text description to appear on a canvas, the player click a button, then the next text description to appear. Over and over again.

Can someone please tell direct me towards a tutorial to make this happen? It seems the beginner tutorial has me creating a PLAYER and an NPC in the scene, but I just want text and a button to advance the text, with no characters at all.

I understand I could just probably rig this in Unity, but it'd be nice if Dialogue System could handle something simple like this. (It seems like it can...I just don't know where to begin.)

* by text description I mean like a standard narrator. ~Once upon a time...blablabla (click button) ~One day our hero decided to... (clickbutton) ~So he started his journey (click button)...
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Tony Li »

Hi,

Yes, that's completely fine. You don't need to create Player and NPC GameObjects in the scene. The only thing you need in the scene is a Dialogue Manager GameObject. Assign your dialogue UI to the Dialogue Manager, and set the Dialogue Manager's Display Settings > Subtitle Settings > Continue Button dropdown to Always.

Tip: When you create your conversation, set its Actor and Conversant dropdowns to NPC (or whatever non-player actor you want to use).
Basel
Posts: 17
Joined: Tue Jul 19, 2022 1:07 pm

Re: Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Basel »

Thanks so much for the help!

One additional question: I now have it set up but when I click the continue button, the dialogue seems to be "rolling through" all the lines at once instead of waiting during each line. I'm trying to find out how to make the manager wait for the continue button to be clicked. (Continue Button is set to "Always.")

Could you please tell me which setting would control this?

Thank you again!
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Tony Li »

Is each line its own dialogue entry node?

Are there any errors or warnings in the Console window?
Basel
Posts: 17
Joined: Tue Jul 19, 2022 1:07 pm

Re: Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Basel »

No error messages in console, but I just deleted the the manager and reimported it into the scene and did a fresh conversation. It seems to be working now. I must have toggled something on or off and I didn't realize it. :D
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can you just use Dialogue System to Make Text Descriptions Appear On Canvas

Post by Tony Li »

I'm glad it's working now! :-)
Post Reply