Instantiating UI for each new dialogue entry

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SlushyRH
Posts: 2
Joined: Sat Jun 03, 2023 5:29 pm

Instantiating UI for each new dialogue entry

Post by SlushyRH »

Hey, don't know if this has been posted as I couldn't find anything about this topic but how would I go about instantiating the UI on each entry of dialogue?
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Instantiating UI for each new dialogue entry

Post by Tony Li »

Hi,

What do you mean by instantiating?

If you want a dialogue entry's subtitle panel to appear only while it's showing text and then disappear, inspect the subtitle panel and set its Standard UI Subtitle Panel component's Visibility dropdown to Only During Content.

If you want to show a new subtitle panel cumulatively for each dialogue entry, take a look at the SMS Dialogue UI. It's visually styled like a text message app, but you can change the way it looks. The important thing is that it instantiates a new subtitle panel (text bubble) for each line of dialogue.
SlushyRH
Posts: 2
Joined: Sat Jun 03, 2023 5:29 pm

Re: Instantiating UI for each new dialogue entry

Post by SlushyRH »

Thank you! I was looking for a solution like the SMS Dialogue UI, just didn't know how to explain it. Once again, thanks!
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Instantiating UI for each new dialogue entry

Post by Tony Li »

Glad to help!
Post Reply