From 82eb4d4b74189a2cb50e22165a4311b359329d6b Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 05 六月 2025 11:05:44 +0800
Subject: [PATCH] 18 子 2D卡牌客户端搭建 / 2D卡牌客户端搭建 资源卸载的问题&删除错误代码

---
 Main/System/Sound/SoundPlayer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Main/System/Sound/SoundPlayer.cs b/Main/System/Sound/SoundPlayer.cs
index e9f3d84..4fcaefc 100644
--- a/Main/System/Sound/SoundPlayer.cs
+++ b/Main/System/Sound/SoundPlayer.cs
@@ -132,7 +132,7 @@
                 if (key != _exclude)
                 {
                     var config = AudioConfig.Get(key);
-                    AssetBundleUtility.Instance.UnloadAsset("audio/music", config.Audio);
+                    ResManager.Instance.UnloadAsset("Audio/" + config.Folder, config.Audio);
                 }
             }
 

--
Gitblit v1.8.0