Continue Button Not Hiding

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
PayasoPrince
Posts: 104
Joined: Thu Jan 27, 2022 6:47 pm

Continue Button Not Hiding

Post 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,
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Not Hiding

Post 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.
User avatar
PayasoPrince
Posts: 104
Joined: Thu Jan 27, 2022 6:47 pm

Re: Continue Button Not Hiding

Post 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.
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button Not Hiding

Post 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.
Post Reply