Hi. Some of my buttons click sound contains Speech, so I'd like them to be considered Speech sounds and not SFX sounds.
I already achieved this (using unity UI) by adding an Audio Source and a Sound components to each button.
Then OnClick() event calls Sound.Play. And the Sound Type can be selected in the Sound component.
I just want to know if there is a better way to do this. Thanks.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
That'll work, but if your game makes use of Audio Mixer Groups, you can forego the Sound component and just assign your Speech mixer to the Button's AudioSource.