Hey,
We would like to customize our sound settings and because of that we use the provided sound functions of AC in a custom script:
//Works well
KickStarter.options.SetVolume(SoundType.Music, vSlider.value);
//Is not doing what we expected
KickStarter.options.SetVolume(SoundType.SFX, vSlider.value);
//Works Well
KickStarter.options.SetVolume(SoundType.Speech, vSlider.value);
So we have a problem with setting the SFX volume. While pausing game the player can change the volume by using a slider. At this point SetVolume() for SFX sets the value, but when we resume to the game the SFX volume lerps to a value which we never set. Is AC doing something in the Background with the SFX Volume?
For example:
The Player sets the SFX Volume to 0.3, but when player hits resume the value lerps to 0.1f.
Comments
Also, you can use specific methods to set sound type:
AC.Options.SetMusicVolume (vSlider.value);