From 6dd503daadee78e75a6486cd97e25a6866cae589 Mon Sep 17 00:00:00 2001 From: SHAM-DP Date: Thu, 9 Mar 2023 14:12:17 +0800 Subject: [PATCH] updated audio assets, fix scale for sfx & bgm sliders --- Assets/Audio/Music.bank | Bin 6200736 -> 6200736 bytes Assets/Audio/SFX.bank | Bin 1740384 -> 1741920 bytes Assets/Scripts/UI/SC_Options.cs | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Audio/Music.bank b/Assets/Audio/Music.bank index 41112f65756ff0095585d4eb42142ed32c310e55..d3aef69c3acb819d5cf1e8929e791d76cd33cec3 100644 GIT binary patch delta 539 zcmXZYxi5nO9LDkX?W?ZRQb+5kqO^*l?yIzQmr`d{nJ`ob2@#16iP$9X)}d(_tdb4} zlc9-YV73T}f50N?{Kf8)LJT)5xpb@uONa7{RPGCfsr>%WT}65ii+_7C z{w8kfGX$ATrjVZXW+`NtPPh1-!J`$7_fpj6x|*`9Md#6*OY%BRqQB(i%B|dhxz8sIi>z{Mar9X0#I1TN6?mWDoDBWjDw;Tc#5Rm~TGLeOB zl%Nzk=uw7pRG<o{ z89FeCQ4BVdiA5p?-|jVhl9#;X4bOk~BlqJnPNw$kIDMTNOTCA)$Bh#TcY;t$Ua=LYM!E0ResWg9{9*lyIG{jRIttqm9U@+)u=%&>QIjcG@=R3Xn_^2XoC&y2z}9kPIRFgJ?KRr j9B`r^E(~B0Lm0*gMll9AJQ&9WCNTvsrf-z?nUl#sOo_Wh diff --git a/Assets/Audio/SFX.bank b/Assets/Audio/SFX.bank index acf5260a89bc80b0899082c08b91d9b561cc8585..01922b43d747eec28ec9c2c4484013ea746895c7 100644 GIT binary patch delta 1084 zcmZY5YfMu~6ae5mw->k~w9|5VwTiWc)inx@fEs+zmbTIgniZn3DqB#Ibh}G^g_pJ{ zK~NEeLri?(BOC3Hjjw6cL|GOUHEPy(VzfUDMl{B4NLDt+_?mmGKZKincP2CEoH;Yk z4!WNCUAo0~o2{fv&Dg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E*;>mlAAWAXurfJc@?GGQ26lE=j3+9a+ufc^c&M+u21DnP&{{#^-rg+P z#ya*D<5nu%lLw|Gp5xfGT1!AEQa~#&8$KLk4{FTi$`~ef^})#ME0=x*cyv1iI)1P| zJxxdgT*;Ieb?YNAmh2NRYqmDFqf;TGuI#)7!IUPNlcQhRcnU{3{ipxHY*$#k&%e$B z?bgKhZ#VbA#qO}(&I1?CSFO^!j@U;*o$v ql!J1S0ZAwi8PPhFk4(snWJHk#Sy2H}kPX>UA#xz+Lw}EJll&Kh(FF|v diff --git a/Assets/Scripts/UI/SC_Options.cs b/Assets/Scripts/UI/SC_Options.cs index 0e3b5c12..bccc0317 100644 --- a/Assets/Scripts/UI/SC_Options.cs +++ b/Assets/Scripts/UI/SC_Options.cs @@ -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) -- 2.40.1