updated audio assets, fix scale for sfx & bgm sliders
This commit is contained in:
parent
73022cb8d6
commit
6dd503daad
Binary file not shown.
Binary file not shown.
|
@ -73,13 +73,13 @@ namespace SHADE_Scripting.UI
|
||||||
}
|
}
|
||||||
if (sfx != null)
|
if (sfx != null)
|
||||||
{
|
{
|
||||||
Settings.sfxVolume = sfx.ScaledValue;
|
Settings.sfxVolume = sfx.ScaledValue * 0.01f;
|
||||||
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume);
|
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume);
|
||||||
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume);
|
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume);
|
||||||
}
|
}
|
||||||
if (bgm != null)
|
if (bgm != null)
|
||||||
{
|
{
|
||||||
Settings.bgmVolume = bgm.ScaledValue;
|
Settings.bgmVolume = bgm.ScaledValue * 0.01f;
|
||||||
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume);
|
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume);
|
||||||
}
|
}
|
||||||
if (fov != null)
|
if (fov != null)
|
||||||
|
|
Loading…
Reference in New Issue