Page 1 of 1

[HOWTO] How To: Set Up Continue Button Typewriter Fast Forward

Posted: Tue Jun 25, 2024 8:22 am
by Tony Li
If you've enabled continue button mode by setting the Dialogue Manager's Display Settings > Subtitle Settings > Continue Button dropdown or by using the SetContinueMode() sequencer command, subtitle panels will wait for a continue button click. A basic continue button assigned to the subtitle panel's Continue Button field will immediately advance the conversation. (You can also advance it in a sequence by using the Continue() sequencer command.)

However, if your subtitle text has a typewriter effect, you can also configure your continue button to simply fast forward the typing to the end if it's still typing.

The dialogue UI prefabs that ship with the Dialogue System all work this way. On those prefabs, the continue buttons have a StandardUIContinueButtonFastForward component. The subtitle text's typewriter effect is assigned to it. The Button component's OnClick() calls StandardUIContinueButtonFastForward.OnFastForward:

continueButtonFastForward.png
continueButtonFastForward.png (90.16 KiB) Viewed 1419 times

Related: