From 99a11d2bb19d74f6cc8584ac16838062af4fb301 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 03 四月 2026 11:24:07 +0800
Subject: [PATCH] webgl 优化
---
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 52a353d..0ff13f4 100644
--- a/Main/System/Sound/SoundPlayer.cs
+++ b/Main/System/Sound/SoundPlayer.cs
@@ -455,7 +455,7 @@
IEnumerator Co_DelayPlayBackGrondMusic(float _delay, int _audioId)
{
- yield return new WaitForSeconds(_delay);
+ yield return WaitForSecondsCache.Get(_delay);
PlayBackGroundMusic(_audioId).Forget();
}
}
--
Gitblit v1.8.0