From 7789222416b7f43b1b425e8048bb49b4b8b0685c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 11 十二月 2025 17:44:24 +0800
Subject: [PATCH] 125 战斗 切换到后台的战斗不播放任何声音
---
Main/Component/UI/Effect/BattleEffectPlayer.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/Component/UI/Effect/BattleEffectPlayer.cs b/Main/Component/UI/Effect/BattleEffectPlayer.cs
index 4883e23..5c89ea8 100644
--- a/Main/Component/UI/Effect/BattleEffectPlayer.cs
+++ b/Main/Component/UI/Effect/BattleEffectPlayer.cs
@@ -411,7 +411,7 @@
Spine.Animation animation = spineAnimationState.Data.SkeletonData.Animations.First();
spineAnimationState.SetAnimation(0, animation, effectConfig.isLoop != 0);
- SoundPlayer.Instance.PlayUIAudio(effectConfig.audio);
+ // SoundPlayer.Instance.PlayUIAudio(effectConfig.audio);
}
@@ -467,7 +467,7 @@
blocker.onSortingChanged = OnSortingChanged;
- SoundPlayer.Instance.PlayUIAudio(effectConfig.audio);
+ // SoundPlayer.Instance.PlayUIAudio(effectConfig.audio);
}
--
Gitblit v1.8.0