Page 1 of 1
Dialogue UI
Posted: Tue Feb 04, 2020 9:28 am
by Yuri
I want to create a dialogue likes Ys. It will show the conversation in upper right corner when it's triggered. And I have some questions.
1. I need to use another UI or create another subtitle panel and set panel number?
2. Can I make panels accumulate and hide after few seconds?
I'm sorry for my poor English. Hope you can understand and give some suggestions.
Thanks.
Re: Dialogue UI
Posted: Tue Feb 04, 2020 9:54 am
by Tony Li
Hi,
Yuri wrote: ↑Tue Feb 04, 2020 9:28 am1. I need to use another UI or create another subtitle panel and set panel number?
I recommend creating a new dialogue UI. (See:
Dialogue UI Tutorial)
Yuri wrote: ↑Tue Feb 04, 2020 9:28 am2. Can I make panels accumulate and hide after few seconds?
Yes. Depending on how you want it to work, you may need to handle the hiding yourself. Otherwise you can just use Delay(#) sequencer commands, and it will hide automatically after # seconds.
Re: Dialogue UI
Posted: Thu Feb 06, 2020 9:07 am
by Yuri
Hi Tony,
Thank you for your reply.
I have two or more subtitle panels, and I want to make panels take turn playing conversation. (a dialogue entry, a panel)
Here is what I want to do:
1. panel 1 plays dialogue entry 1.
2. when it's end, it hides, and panel 2 shows and plays dialogue entry 2.
3. Then, panel 2 hides and panel 1 plays dialogue entry 3 ...
How can i do it?
Re: Dialogue UI
Posted: Thu Feb 06, 2020 10:20 am
by Tony Li
Two ways:
1. Put [panel=#] in each node's Dialogue Text to specify which panel to use.
2. Or assign the nodes to different actors. Add a Dialogue Actor component to each actor's GameObject, and specify which panel each actor should use.
Re: Dialogue UI
Posted: Sat Feb 08, 2020 7:24 am
by Yuri
Thanks, Tony.
I'v finished it. But, when I show the same Actor in two different panels, the previous panel will close. Is there any solution?
Re: Dialogue UI
Posted: Sat Feb 08, 2020 9:42 am
by Tony Li
Do you want to keep showing the same actor in both panels simultaneously?
If so, try setting the panels' Visibility to Always Once Shown.