shishkabob27 / CardWars

A port of the "Adventure Time: Card Wars" mobile game to PC.
121 stars 19 forks source link

Some sounds remain even if SFX turned off in settings #5

Closed dimoonchepe closed 1 year ago

dimoonchepe commented 1 year ago

When turning on SFX in setings, there are still some sounds audible during the game. I've found the following cases:

Saito197 commented 1 year ago

I found the problem, a lot of effects are handled by spawning an instance of a prefab that contains an AudioSource with "Play on Awake" enabled, thus they are independent from SLOTAudioManager. You can see all SFXs played this way in /Assets/PrefabInstance/FX_*

@shishkabob27 would you mind if I work on this?

shishkabob27 commented 1 year ago

@Saito197 I don’t mind, thank you for finding the problem!