Added cutscene audio #420
|
@ -31,7 +31,6 @@ namespace SHADE_Scripting.UI
|
|||
if (mv != null)
|
||||
{
|
||||
mv.ScaledValue = Settings.masterVolume;
|
||||
|
||||
}
|
||||
if (sfx != null)
|
||||
{
|
||||
|
@ -68,19 +67,19 @@ namespace SHADE_Scripting.UI
|
|||
|
||||
if (mv != null)
|
||||
{
|
||||
Settings.masterVolume = mv.ScaledValue * 0.01f;
|
||||
SHADE.Audio.SetVCAVolume("vca:/MASTER", Settings.masterVolume);
|
||||
Settings.masterVolume = mv.ScaledValue;
|
||||
SHADE.Audio.SetVCAVolume("vca:/MASTER", Settings.masterVolume * 0.01f);
|
||||
}
|
||||
if (sfx != null)
|
||||
{
|
||||
Settings.sfxVolume = sfx.ScaledValue * 0.01f;
|
||||
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume);
|
||||
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume);
|
||||
Settings.sfxVolume = sfx.ScaledValue;
|
||||
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume * 0.01f);
|
||||
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume * 0.01f);
|
||||
}
|
||||
if (bgm != null)
|
||||
{
|
||||
Settings.bgmVolume = bgm.ScaledValue * 0.01f;
|
||||
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume);
|
||||
Settings.bgmVolume = bgm.ScaledValue;
|
||||
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume * 0.01f);
|
||||
}
|
||||
if (fov != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue