Change muteOtherAudioSources parameter at runtime

Hello,

I’m working on a little game for android. I enabled the muteOtherAudioSources from playerSettings to prevent any music running on the phone to play while my game is running.
The point is that if the music level is set to 0 in my game, it would be a good idea to allow other audio source (so the player can listen to his own music)
The playerSettings class cannot be used out of unityEditor so it seems I cannot change this “muteOtherAudioSources” behavior at runtime.
Do you have any idea how I could acheive it ?

1 Like

Up :slight_smile:
I’m searching for that since a long time. I cannot belive this is not possible. Anyone has any clue on this ?

1 Like

still up :frowning: