Page 1 of 1

TypewriterEffect Volume and Pitch

Posted: Fri Oct 14, 2022 8:43 pm
by Albyd
Hi there!
Does anyone know how to add a volume slider to the UI Typewriter Effect?
I'm currently using it to alternate some gibberish files.
However, the volume and pitch are giving me some trouble.
Any solutions?

Thanks

Re: TypewriterEffect Volume and Pitch

Posted: Fri Oct 14, 2022 9:00 pm
by Tony Li
Hi,

If you add an Audio Source component to the typewriter effect's GameObject, the typewriter effect will use it instead of creating its own default Audio Source. You can adjust the Audio Source's values (volume, pitch, etc.) however you want.

Re: TypewriterEffect Volume and Pitch

Posted: Sat Oct 15, 2022 6:50 am
by Albyd
Thanks man!

Re: TypewriterEffect Volume and Pitch

Posted: Sat Oct 15, 2022 8:32 am
by Tony Li
Happy to help!