Page 1 of 1

Continue Button Not Hiding

Posted: Thu Jan 27, 2022 6:58 pm
by PayasoPrince
Hello,

Just purchased this asset and still trying to get the hang of it. So far I am really enjoying tinkering with it. The manual is nice but I still feel like quite a bit more should be included in it. I also would really like more tutorial videos to view. One about customizing the UI would be very helpful. It took quite a bit of fiddling and checking off "Ignore Layout" to break from the default look.

Anyway! I only want the continue button to display when the typewriter is done typing out all of the dialogue. I've ticked "Hide Continue Button On Continue" but it doesn't seem to be affecting anything. Any assistance would be greatly appreciated.

Kind regards,

Re: Continue Button Not Hiding

Posted: Thu Jan 27, 2022 8:28 pm
by Tony Li
Hi,

Thanks for using the Dialogue System! And for reporting what you'd like to see more info on. It's a hard balance to provide the right amount of information without making it overwhelming. Feedback like this lets us know where it would be best to add more info.

Assign the continue button to the typewriter effect's OnCharacter() and OnEnd() events and, from the event dropdowns, select GameObject > SetActive. Leave the checkbox unticked in the OnCharacter() event and tick it in the OnEnd() event.

Re: Continue Button Not Hiding

Posted: Thu Jan 27, 2022 8:45 pm
by PayasoPrince
Easy fix that worked perfectly. Thank you!

Additionally, is the "Hide continue button on continue" obsolete? I unchecked it for now and nothing seems be changed.

Re: Continue Button Not Hiding

Posted: Thu Jan 27, 2022 8:52 pm
by Tony Li
The Standard UI Continue Button Fast Forward component's 'Hide Continue Button On Continue' is still valid.

However, it will only hide the continue button when actually continuing, not when fast forwarding the typewriter.

If you want to also hide the continue button when clicking it to fast forward, you can make a subclass of StandardUIContinueButtonFastForward and override the OnFastForward() method or -- simpler yet -- just add another entry to the Button component's OnClick() event that deactivates the continue button.