How Menu Text and Dialogue Text work together?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fx10fn
Posts: 2
Joined: Wed Jul 21, 2021 1:47 am

How Menu Text and Dialogue Text work together?

Post by fx10fn »

Hello,

I'm customizing my own Dialogue UI, it could be something simple but I just couldn't figure out how to use Menu Text and Dialogue Text together. The doc says:

Menu Text Text shown in the player response menu, such as a short paraphrase of the Dialogue Text. If blank, it defaults to Dialogue Text.

Dialogue Text Text shown in subtitles. If blank, it defaults to Menu Text. Note: You can also double-click on a node to enter Dialogue Text directly on the node.

What I'm trying to achieve is in the Dialogue entry for player, I input both Menu Text and Dialogue Text fields:
- "Menu Text" as short text to be shown in the Response Menu Panel.
- "Dialogue Text " as long text to be shown in the PC Subtitle Panel after player click the corresponding choice in Response Menu Panel.

e.g.
- "Menu Text" : That's fine...
- "Dialogue Text " : That's fine, we all understand that there could be troubles there, not just for you.

On the UI, I set both PC Subtitle Panel and Response Menu Panel, I'm expecting the Response Menu Panel to show first for player to choose a reply while PC Subtitle Panel is hidden at this point in time. Then after choice made, Response Menu Panel hides itself and the PC Subtitle Panel will display the long text.

However I try, it looks to me the PC Subtitle Panel is always hidden (deactivated) during playing the dialogue, only the text in the Menu Text field is used in the dialogue.

Appreciate if anyone could let me know how to get it done.

////////
PS:
I started with the Standard UI Prefabs and customize upon it. whatever template I use (i.e. Basic, Bubble, Letterbox, Circle, ...)it's the same for me that the PC Subtitle Panel never shows during the dialogue, only Menu Text there in the Response Menu Panel.
User avatar
Tony Li
Posts: 22159
Joined: Thu Jul 18, 2013 1:27 pm

Re: How Menu Text and Dialogue Text work together?

Post by Tony Li »

Hi,

Inspect the Dialogue Manager GameObject. Tick Display Settings > Subtitle Settings > Show PC Subtitles During Line, and UNtick Skip PC Subtitle After Response Menu.
fx10fn
Posts: 2
Joined: Wed Jul 21, 2021 1:47 am

Re: How Menu Text and Dialogue Text work together?

Post by fx10fn »

Thanks, that works.
User avatar
Tony Li
Posts: 22159
Joined: Thu Jul 18, 2013 1:27 pm

Re: How Menu Text and Dialogue Text work together?

Post by Tony Li »

Glad to help!
Post Reply