Search found 14 matches

by bubucha
Mon Feb 10, 2020 10:06 am
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Hey hey! It's finally done! https://www.dropbox.com/s/9pv3zyzcq2r6e7a/Done.mp4?dl=0 Your code was delaying the Show animation, but the text was not delayed. But, I managed to get it done using your approach. In case you wonder, here it is: private const float DELAY = 0.55f; private bool hasShownSubt...
by bubucha
Sun Feb 09, 2020 4:10 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

I think the example does work the way I want it to.
by bubucha
Sun Feb 09, 2020 3:57 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Hey, sorry for the delay.
Here is what is happening right now with the code you sent:
https://www.dropbox.com/s/nihp5tmrao1y3 ... e.mp4?dl=0

Something is getting broken in the middle. Can't really understand what exactly.
by bubucha
Sat Feb 08, 2020 7:07 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

So I tried it. Right now it closes the panel during the type. So... Yeah. Pretty much doesn't work. I also tried setting up a Delay in the database directly in Sequence field, but it didn't produce any delays either. Let's try to make it native through code. So that I can override a class and a meth...
by bubucha
Sat Feb 08, 2020 2:08 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Thanks, I will try it tomorrow and let you know.
by bubucha
Fri Feb 07, 2020 6:20 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Yeah, you got the idea right.

I tried the code, but it, once again, does nothing.
I am not sure, but it is almost like ignored. I even tried to close the subtitle panels in ShowSubtitle, before calling base, but no effect. I can see them being closed and reopened, but still no delay.
by bubucha
Fri Feb 07, 2020 3:23 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Well, that still doesn't help me with the issue - Delay only works after Response Menu, as in the video.
by bubucha
Fri Feb 07, 2020 12:34 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

Here is a video of what's happening. Delay is set to 3 seconds.
https://www.dropbox.com/s/qx427tolpheqz ... e.mp4?dl=0
by bubucha
Fri Feb 07, 2020 12:02 pm
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

I also tried doing this using that MyGameUI: public override void ShowSubtitle(Subtitle subtitle) { if (lastSpeakerId == -1 || subtitle.speakerInfo.id != lastSpeakerId) { subtitle.sequence = string.IsNullOrEmpty(subtitle.sequence) ? $"{DELAY_COMMAND}; {{default}}" : $"{DELAY_COMMAND};...
by bubucha
Fri Feb 07, 2020 11:57 am
Forum: Dialogue System for Unity
Topic: Don't Disable Response Menu and Global Delay
Replies: 24
Views: 1506

Re: Don't Disable Response Menu and Global Delay

I think I am on the track of why that happens. I guess it is related to Closed state. I have this attached to both Response and Subtitle Panels: protected override void OnHidden() { panelState = PanelState.Closed; } I also override StandardDialogueUI with my class: public class MyGameUI: StandardDia...