Page 1 of 1

Subtitle Panel inside Dialogue Panel

Posted: Wed Nov 09, 2022 7:23 pm
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 191 times
Here is my prefab structure:
struct.png
struct.png (56.96 KiB) Viewed 191 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.

Re: Subtitle Panel inside Dialogue Panel

Posted: Wed Nov 09, 2022 7:59 pm
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()".

Re: Subtitle Panel inside Dialogue Panel

Posted: Wed Nov 09, 2022 8:34 pm
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.

Re: Subtitle Panel inside Dialogue Panel

Posted: Wed Nov 09, 2022 9:53 pm
by Tony Li
Hi,

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