Subtitle Panel inside Dialogue Panel

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
thecodehermit
Posts: 41
Joined: Mon Jul 19, 2021 11:27 am

Subtitle Panel inside Dialogue Panel

Post by thecodehermit »

I am making a custom UI. I am using the "Basic Standard Dialogue UI" as a template.

I have a conversation:
conv.png
conv.png (52.5 KiB) Viewed 200 times
Here is my prefab structure:
struct.png
struct.png (56.96 KiB) Viewed 200 times
What I want to do is to add the "NPC Subtitle Panel" inside the "Dialogue Panel".

The problem:
When I start a conversation the "Dialogue Panel" is shown only after 2-3 seconds delay. How can I avoid this ?

What is actually happening is that on start the "NPC Subtitle Panel" is shown (we dont actually see it since it is inside the "Dialogue Panel") Then after 2-3 seconds the "Dialogue Panel" is shown.
User avatar
Tony Li
Posts: 22165
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle Panel inside Dialogue Panel

Post by Tony Li »

Hi,

Maybe the Dialogue Panel's Animator is taking 2-3 seconds to make itself visible? (e.g., changing its Canvas Group > Alpha from 0 to 1)

It's also possible that the <START> node's Sequence has been set to something that will delay 2-3 seconds. Make sure it's set to "None()" or "Continue()".
thecodehermit
Posts: 41
Joined: Mon Jul 19, 2021 11:27 am

Re: Subtitle Panel inside Dialogue Panel

Post by thecodehermit »

I removed the animators from both panels, but nothing changed.
Also The start node already was on "None()", changing it to "Continue()" didn't do anything either.

Though setting "Continue()" to the first npc node made the menu panel show instantly. But then the subtitle panel was missing entirely...

I just found out you have posted some new UI creation tutorials on youtube. They are quite good so I could try creating my own UI from scratch.
The basic one I use now is almost what I want but that constant appearing and disappearing of both subtitle and menu panels is quite annoying and I dont see any way to disable it. Do you know any way to have them both always shown from the start and not disappearing afterwards?

If not I will try my luck with creating a completely new UI from the tutorial videos.
User avatar
Tony Li
Posts: 22165
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle Panel inside Dialogue Panel

Post by Tony Li »

Hi,

If you get stuck, please feel free to send a reproduction project to tony (at) pixelcrushers.com.
Post Reply