guodong vor 1 Jahr
Ursprung
Commit
c03f73d0a3
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      GameClient/Assets/Game/HotUpdate/Sound/VoiceManager.cs

+ 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);
         }