Continue Button Stopped working

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mudukke
Posts: 73
Joined: Wed Sep 27, 2023 4:15 am

Continue Button Stopped working

Post by mudukke »

In the dialogue manager, I have set the continue button as always however when I play the continue button appears but when I click the button nothing happens. I have checked the location of the button and nothing is hiding it. Is there anything else I should look at?
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Stopped working

Post by Tony Li »

Hi,

Is the continue button assigned to the subtitle panel's StandardUISubtitlePanel component > Continue Button field?

Is the continue button's Button component > OnClick() event configured to do anything? You can configure it to call the StandardUISubtitlePanel component's OnContinue method, but more often people will add a StandardUIContinueButtonFastForward component to the continue button, assign the subtitle text's typewriter effect to it, and configure the Button component's OnClick() to call StandardUIContinueButtonFastForward.OnFastForward.
mudukke
Posts: 73
Joined: Wed Sep 27, 2023 4:15 am

Re: Continue Button Stopped working

Post by mudukke »

They are both assigned already
Attachments
2024_08_28_07_50_50_Window.png
2024_08_28_07_50_50_Window.png (276.4 KiB) Viewed 307 times
2024_08_28_07_50_22_Window.png
2024_08_28_07_50_22_Window.png (200.44 KiB) Viewed 307 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Stopped working

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window?

Is Subtitle Super Text assigned to the continue button's StandardUIContinueButtonFastForward component?
mudukke
Posts: 73
Joined: Wed Sep 27, 2023 4:15 am

Re: Continue Button Stopped working

Post by mudukke »

You mean this and there are no error messages
Attachments
2024_08_28_13_32_07_Window.jpg
2024_08_28_13_32_07_Window.jpg (91.72 KiB) Viewed 292 times
2024_08_28_13_31_13_Window.jpg
2024_08_28_13_31_13_Window.jpg (69.19 KiB) Viewed 292 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Stopped working

Post by Tony Li »

Please edit Assets > Plugins > Pixel Crushers > Dialogue System > Scripts > UI > Standard > Effects > StandardUIContinueButtonFastForward.cs.

After line 83, which is:

Code: Select all

if (hideContinueButtonOnContinue && continueButton != null) continueButton.gameObject.SetActive(false);
Add this line:

Code: Select all

Debug.Log($"Clicked continue button. Has UI?={(runtimeDialogueUI != null)}");
Then save the script and play the scene. When you click the continue button, do you see this in the Console window?

Code: Select all

Clicked continue button. Has UI?=True
mudukke
Posts: 73
Joined: Wed Sep 27, 2023 4:15 am

Re: Continue Button Stopped working

Post by mudukke »

Thanks Tony
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Stopped working

Post by Tony Li »

Can I also test this in the reproduction project you sent for portrait animation? Or did you already get the continue button to work?
Post Reply