I have an announcer voice that comes in and ducks the games music track slightly so you can hear it properly, however the player has weapons and the sound of the bullets can drown out the announcer. I cant duck them using the Audio Mixer because the sounds are one shots played via script when the weapon is fired, am I able to duck them via script?
bump
You can tween the volume down of the clip.
I’ve used DOTWEEN here: DOTween - Documentation
DOFade(float to, float duration) - Tweens an AudioSource’s volume to the given value.
But you could lerp a value down or up and set the volume to to that float.