update core

This commit is contained in:
2024-10-27 21:16:31 +08:00
parent 3c8edf4613
commit 5227e64327

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using Coffee.UIEffects; using Coffee.UIEffects;
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks;
using Framework.Audio;
using Framework.Timer; using Framework.Timer;
using Framework.UI; using Framework.UI;
using Game; using Game;
@@ -11,6 +12,7 @@ using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using IcecreamView; using IcecreamView;
using MintAnimation.Core; using MintAnimation.Core;
using AudioType = Framework.Audio.AudioType;
namespace Views{ namespace Views{
@@ -171,6 +173,7 @@ namespace Views{
private void ToBossCG () private void ToBossCG ()
{ {
this.ViewConnector.CloseView (); this.ViewConnector.CloseView ();
AudioManager.Instance.StopPlayers (AudioType.BGM , 1f);
Destroy (MapContent.Instance.ScenePart.gameObject); Destroy (MapContent.Instance.ScenePart.gameObject);
MapContent.Instance.ScenePart = null; MapContent.Instance.ScenePart = null;
RoomManager.Instance._BossSceneDirector.stopped += director => RoomManager.Instance._BossSceneDirector.stopped += director =>