Textanimator skip typewriter and continue button setup

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
OddMan2
Posts: 29
Joined: Fri Feb 11, 2022 11:14 am

Textanimator skip typewriter and continue button setup

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

Re: Textanimator skip typewriter and continue button setup

Post by Tony Li »

Hi,

If you're using Text Animator for Unity, please use TextAnimatorContinueButtonFastForward as described in Text Animator Support.
OddMan2
Posts: 29
Joined: Fri Feb 11, 2022 11:14 am

Re: Textanimator skip typewriter and continue button setup

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

Re: Textanimator skip typewriter and continue button setup

Post by Tony Li »

Glad to help!
Post Reply