From 97b793e8f4e32b531f365c2dc0721bf9a87f0c28 Mon Sep 17 00:00:00 2001 From: yangbear Date: Wed, 1 Jul 2026 20:01:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbg=E9=9F=B3=E4=B9=90?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E8=A2=AB=E5=8A=A0=E5=88=B0=E7=B1=BB=E5=A4=96?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/PageController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/UI/PageController.cs b/Assets/Scripts/UI/PageController.cs index 9e6ee2a..8496f6e 100644 --- a/Assets/Scripts/UI/PageController.cs +++ b/Assets/Scripts/UI/PageController.cs @@ -375,7 +375,7 @@ public class PageController : MonoBehaviour [SerializeField] private AudioClip _experimentBgClip; [SerializeField] private AudioClip[] _womanClips; private AudioSource _bgAudioSource; -} + private void PlayHomeBg() { @@ -403,3 +403,4 @@ public class PageController : MonoBehaviour _bgAudioSource.playOnAwake = false; if (_experimentBgClip != null) { _bgAudioSource.clip = _experimentBgClip; _bgAudioSource.Play(); Debug.Log("PageController: 播放实验背景音乐"); } } +}