From 5227e643271544bd80d0a54d2779bb7c3a6f963d Mon Sep 17 00:00:00 2001 From: Foldcc_b1 Date: Sun, 27 Oct 2024 21:16:31 +0800 Subject: [PATCH] update core --- Assets/Scripts/Views/SuccessPanel.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Scripts/Views/SuccessPanel.cs b/Assets/Scripts/Views/SuccessPanel.cs index e75a643..a870a1f 100644 --- a/Assets/Scripts/Views/SuccessPanel.cs +++ b/Assets/Scripts/Views/SuccessPanel.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using Coffee.UIEffects; using Cysharp.Threading.Tasks; +using Framework.Audio; using Framework.Timer; using Framework.UI; using Game; @@ -11,6 +12,7 @@ using UnityEngine; using UnityEngine.UI; using IcecreamView; using MintAnimation.Core; +using AudioType = Framework.Audio.AudioType; namespace Views{ @@ -171,6 +173,7 @@ namespace Views{ private void ToBossCG () { this.ViewConnector.CloseView (); + AudioManager.Instance.StopPlayers (AudioType.BGM , 1f); Destroy (MapContent.Instance.ScenePart.gameObject); MapContent.Instance.ScenePart = null; RoomManager.Instance._BossSceneDirector.stopped += director =>