TypewriterEffect Volume and Pitch

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Albyd
Posts: 29
Joined: Thu Jul 21, 2022 4:46 pm

TypewriterEffect Volume and Pitch

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

Re: TypewriterEffect Volume and Pitch

Post 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.
Albyd
Posts: 29
Joined: Thu Jul 21, 2022 4:46 pm

Re: TypewriterEffect Volume and Pitch

Post by Albyd »

Thanks man!
User avatar
Tony Li
Posts: 21020
Joined: Thu Jul 18, 2013 1:27 pm

Re: TypewriterEffect Volume and Pitch

Post by Tony Li »

Happy to help!
Post Reply