Merge pull request #416 from SHADE-DP/AudioImpl

Added new audio banks, fix scaling for options sliders
This commit is contained in:
XiaoQiDigipen 2023-03-10 17:55:58 +08:00 committed by GitHub
commit f0c827a7f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -73,13 +73,13 @@ namespace SHADE_Scripting.UI
}
if (sfx != null)
{
Settings.sfxVolume = sfx.ScaledValue;
Settings.sfxVolume = sfx.ScaledValue * 0.01f;
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume);
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume);
}
if (bgm != null)
{
Settings.bgmVolume = bgm.ScaledValue;
Settings.bgmVolume = bgm.ScaledValue * 0.01f;
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume);
}
if (fov != null)