From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)
---
Main/Component/UI/Common/UIPlaySound.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/Component/UI/Common/UIPlaySound.cs b/Main/Component/UI/Common/UIPlaySound.cs
index 078c787..6779247 100644
--- a/Main/Component/UI/Common/UIPlaySound.cs
+++ b/Main/Component/UI/Common/UIPlaySound.cs
@@ -5,6 +5,7 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
+using Cysharp.Threading.Tasks;
public class UIPlaySound : MonoBehaviour
@@ -14,7 +15,7 @@
public void Play()
{
- SoundPlayer.Instance.PlayUIAudio(m_Audio);
+ SoundPlayer.Instance.PlayUIAudio(m_Audio).Forget();
}
private void OnEnable()
--
Gitblit v1.8.0