Unknown reason cause message not be going on

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

In the original example scene, the Red Wizard changes from the right position (panel 0):

panelChange1.png
panelChange1.png (64.81 KiB) Viewed 759 times

to the middle position (panel 2):

panelChange2.png
panelChange2.png (43.63 KiB) Viewed 759 times

This sequence tells the Red Wizard and Green Wizard to change panels:

panelChange3.png
panelChange3.png (63.98 KiB) Viewed 759 times

Is that what you want to happen?
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Yes,That is what I want,but when I use my project,It would let the conversation stuck.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Thank you for your patience with this.

What do you mean by stuck?

Is the conversation not progressing?

Are you talking about the issue where one line shows the UI elements while the previous line is hiding the same UI elements? If so, have you changed Visibility to Always From Start or Always Once Shown?

visibility.png
visibility.png (98.65 KiB) Viewed 756 times
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Thu Sep 17, 2020 9:22 am
Are you talking about the issue where one line shows the UI elements while the previous line is hiding the same UI elements? If so, have you changed Visibility to Always From Start or Always Once Shown?
I tried to changed Visibility to Always From Start or Always Once Shown.that did not work to me in version 2.2.10.

I am sorry about my poor English.Hope you could forgive me that English is not my native language.
I am the one that should thank you for your patience.

Stuck means the problem in this reply's problem.the dialogue message would stop when using Hide animation.
After I said I send a e-mail with your website,the discuss all is talking about that(not the first problem,that problem maybe one day I would check about that and send a project again in the future.). So, if you can fix that e-mail's project file.That could also fix the problem in what I said.And then I used what you said in the reply's solutions.First solution worked to me,but I think that is not perfect one,so I tried the second what you said,but the way would let the panel always in the same place,that is not what I want,but I am afraid I misunderstand what you said in second solution,so I just asked whether I misunderstand or not.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Hi,

I'll check out the project again and try to send you a fixed file.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

I can reproduce the situation in the original Animated Portrait Example. Now that I can reproduce it there, I will work on a solution tomorrow.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Please import this package:

shortlin_2020-09-19.unitypackage

The subtitle panels use a small subclass of StandardUISubtitlePanel named SharedTextSubtitlePanel.

SharedTextSubtitlePanel allows subtitle panels to share the same text elements even when they use show/hide animations. Normally when a panel's hide animation is done, it hides the text elements. With this subclass, it doesn't hide the text element is another subtitle panel is using it.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Sat Sep 19, 2020 9:39 am Please import this package:

shortlin_2020-09-19.unitypackage

The subtitle panels use a small subclass of StandardUISubtitlePanel named SharedTextSubtitlePanel.

SharedTextSubtitlePanel allows subtitle panels to share the same text elements even when they use show/hide animations. Normally when a panel's hide animation is done, it hides the text elements. With this subclass, it doesn't hide the text element is another subtitle panel is using it.
Hi Tony ,Thank you.
It worked.
But it would let the portratName Disappear in that problem conversation node.
Except that,everything is OK.
So I tried to modify your code:
portraitName.SetActive(value);
if (value == true || currentOwner == this)
{
subtitleText.SetActive(value);
}
I Change this code to this:
if (value == true || currentOwner == this)
{
portraitName.SetActive(value);
subtitleText.SetActive(value);
}
The portraitName Appear in that conversation node.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

shortlin wrote: Sun Sep 20, 2020 6:20 amThe portraitName Appear in that conversation node.
Sorry, I don't understand. Is it working the way you want? Or should it disapear?
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Sun Sep 20, 2020 9:28 am
shortlin wrote: Sun Sep 20, 2020 6:20 amThe portraitName Appear in that conversation node.
Sorry, I don't understand. Is it working the way you want? Or should it disapear?
Because you set the portraitName.SetActive(false)
when it should be true;
so I put it with "subtitleText.SetActive(value); " together
Post Reply