Page 1 of 1

Continue Button Stopped working

Posted: Tue Aug 27, 2024 5:52 am
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?

Re: Continue Button Stopped working

Posted: Tue Aug 27, 2024 7:47 am
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.

Re: Continue Button Stopped working

Posted: Wed Aug 28, 2024 2:52 am
by mudukke
They are both assigned already

Re: Continue Button Stopped working

Posted: Wed Aug 28, 2024 7:47 am
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?

Re: Continue Button Stopped working

Posted: Wed Aug 28, 2024 8:33 am
by mudukke
You mean this and there are no error messages

Re: Continue Button Stopped working

Posted: Wed Aug 28, 2024 8:54 am
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

Re: Continue Button Stopped working

Posted: Fri Aug 30, 2024 3:51 am
by mudukke
Thanks Tony

Re: Continue Button Stopped working

Posted: Fri Aug 30, 2024 7:48 am
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?