I want to have a function that would make the typewriter speed faster when I hold my mouse button. I tried using the built in "StandardUIContinueButtonFastForward" but it autocompletes the whole dialogue and it does not fit with my game, here what I came up with my code so far:
I've seen this code somewhere in this forum, but I can't seem to make it work.
I'm setting the "SetTypewriterSpeed" using Event Triggers in Unity.
The problem with this is that it skips the whole dialogue even when it's not finished when I click instead of holding it.
Increase Typewriter Speed
Increase Typewriter Speed
- Attachments
-
- Increase Typewriter.png (16.42 KiB) Viewed 3996 times
Re: Increase Typewriter Speed
Hi,
Please see the bottom part of How To: Adjust Typewriter Speed. It links to this post which has example code that speeds up the typewriter when clicking a button. You can adapt it to speed up the typewriter when holding down the mouse button and returning to the original speed when releasing the mouse button.
Please see the bottom part of How To: Adjust Typewriter Speed. It links to this post which has example code that speeds up the typewriter when clicking a button. You can adapt it to speed up the typewriter when holding down the mouse button and returning to the original speed when releasing the mouse button.
Re: Increase Typewriter Speed
I see it!
Thanks again Tony!
Thanks again Tony!
Re: Increase Typewriter Speed
Glad to help!