Page 1 of 1

Textanimator skip typewriter and continue button setup

Posted: Thu Feb 24, 2022 5:17 pm
by OddMan2
Hello again,
i would like some help setting up the skip typewriter event of textanimator and the continue button.

The desired behavior is the following:
  • subtitle shown, typewriter effect starts
  • player press the continue button one first time, typewriter effect is skipped and full subtitle is shown
  • to continue to the next subtitle, player has to press the button a second time
What is the best way to proceed?
i'm considering making a subclass of Standard UI Continue Button Fast Forward, but maybe there is a quicker way?
Thank you

Re: Textanimator skip typewriter and continue button setup

Posted: Thu Feb 24, 2022 7:38 pm
by Tony Li
Hi,

If you're using Text Animator for Unity, please use TextAnimatorContinueButtonFastForward as described in Text Animator Support.

Re: Textanimator skip typewriter and continue button setup

Posted: Fri Feb 25, 2022 5:16 am
by OddMan2
please use TextAnimatorContinueButtonFastForward as described in Text Animator Support.
There was a quicker way indeed! :D
Sorry, i somehow missed that.
Thank you

Re: Textanimator skip typewriter and continue button setup

Posted: Fri Feb 25, 2022 8:32 am
by Tony Li
Glad to help!