From b4f99f038d5570cbc21941455e93f68d219a075c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 26 十一月 2025 17:09:13 +0800
Subject: [PATCH] 0312 增加部分基础音效 音乐

---
 Main/System/Battle/BaseBattleWin.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Main/System/Battle/BaseBattleWin.cs b/Main/System/Battle/BaseBattleWin.cs
index 3df85a8..3134780 100644
--- a/Main/System/Battle/BaseBattleWin.cs
+++ b/Main/System/Battle/BaseBattleWin.cs
@@ -49,6 +49,8 @@
                 UIManager.Instance.CloseWindow<EquipExchangeWin>();
             }
         }
+
+        PlayBackGroundMusic();
     }
 
     protected override void OnPreClose()
@@ -66,6 +68,7 @@
         {
             battleField.OnRoundChange -= OnRoundChange;
         }
+        SoundPlayer.Instance.StopBackGroundMusic();
     }
 
     protected override void OnClose()
@@ -78,6 +81,7 @@
         }
         battleField = null;
     }
+
 
     /// <summary>
     /// 閫氱敤鍒锋柊閫昏緫 (妯℃澘鏂规硶)
@@ -285,4 +289,10 @@
         }
     }
 
+
+    protected virtual void PlayBackGroundMusic()
+    {
+        SoundPlayer.Instance.PlayBackGroundMusic(39);
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.8.0