Continue Button Stopped working
Continue Button Stopped working
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
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.
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
They are both assigned already
- Attachments
-
- 2024_08_28_07_50_50_Window.png (276.4 KiB) Viewed 304 times
-
- 2024_08_28_07_50_22_Window.png (200.44 KiB) Viewed 304 times
Re: Continue Button Stopped working
Hi,
Are there any errors or warnings in the Console window?
Is Subtitle Super Text assigned to the continue button's StandardUIContinueButtonFastForward component?
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
You mean this and there are no error messages
- Attachments
-
- 2024_08_28_13_32_07_Window.jpg (91.72 KiB) Viewed 289 times
-
- 2024_08_28_13_31_13_Window.jpg (69.19 KiB) Viewed 289 times
Re: Continue Button Stopped working
Please edit Assets > Plugins > Pixel Crushers > Dialogue System > Scripts > UI > Standard > Effects > StandardUIContinueButtonFastForward.cs.
After line 83, which is:
Add this line:
Then save the script and play the scene. When you click the continue button, do you see this in the Console window?
After line 83, which is:
Code: Select all
if (hideContinueButtonOnContinue && continueButton != null) continueButton.gameObject.SetActive(false);
Code: Select all
Debug.Log($"Clicked continue button. Has UI?={(runtimeDialogueUI != null)}");
Code: Select all
Clicked continue button. Has UI?=True
Re: Continue Button Stopped working
Thanks Tony
Re: Continue Button Stopped working
Can I also test this in the reproduction project you sent for portrait animation? Or did you already get the continue button to work?