Hey!
I have an issue that the sound effect of typewriter UI effect is played when I add /. into my text for a dramatic pause, any way to stop playing the sound when \. is added?
Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Re: Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Hi,
The typewriter should only play audio for actual characters, not for special codes such as \. or rich text codes (e.g., <b> or <color=red>).
Please check the audio source on the GameObject that has the typewriter effect component. Make sure its Loop checkbox isn't ticked, If the GameObject doesn't have an audio source, the typewriter will add one (with Loop unticked) at runtime.
Or is the issue that the audio from the previous character is still playing when the typewriter reaches the \. code?
The typewriter should only play audio for actual characters, not for special codes such as \. or rich text codes (e.g., <b> or <color=red>).
Please check the audio source on the GameObject that has the typewriter effect component. Make sure its Loop checkbox isn't ticked, If the GameObject doesn't have an audio source, the typewriter will add one (with Loop unticked) at runtime.
Or is the issue that the audio from the previous character is still playing when the typewriter reaches the \. code?
Re: Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Hey! Thanks for the reply, there is no loop ticked. The issue is the audio from previous character is still playing, to I have to split the audio file or is there some magic trick in dialogue system I could stop the audio?
Re: Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Hi,
Try this patch:
DS_TypewriterPatch_2021-10-19.unitypackage
It adds two new checkboxes to the typewriter effect to stop audio on silent characters and on pause codes.
Try this patch:
DS_TypewriterPatch_2021-10-19.unitypackage
It adds two new checkboxes to the typewriter effect to stop audio on silent characters and on pause codes.
Re: Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Wow! This is awesome, thank you! I hope my question helped others, too
Re: Dialogue TypeWriter \. - Waits 60 frames Stop Sound Effect?
Glad to help! Most of the improvements to the Dialogue System nowadays come directly from user suggestions like yours, so thank you!