guodong 1 жил өмнө
parent
commit
c03f73d0a3

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Sound/VoiceManager.cs

@@ -43,6 +43,9 @@ namespace GFGGame
         private void Awake()
         {
             player = this.gameObject.AddComponent<AudioSource>();
+            player.priority = 256;
+            //设置这个声音会大一些
+            player.spatialBlend = 1f;
             isOn = LocalCache.GetBool(LauncherConfig.SOUND_KEY, true);
         }