updat core

This commit is contained in:
2024-10-21 22:29:53 +08:00
parent 6c950bb377
commit fbbd08e0a5
40 changed files with 6519 additions and 5112 deletions

View File

@@ -22,6 +22,9 @@ namespace Game.FsmNode
public static string GroupName = typeof(GameFight).FullName;
protected override async void OnEnter (params object[] args)
{
UIManager.Instance.OpenView (UIPanel.GamePanel);
CameraEffectUtils.Instance.SetAberration (0f , 0.5f);
CameraEffectUtils.Instance.SetGameCamBlur (0f , 0.5f , null);
MapContent.Instance.IsActiveGame = true;
// MapContent.Instance.Pathfinder.
AudioManager.Instance.PlayBGM (BgmAudio.FightingBgm);
@@ -30,6 +33,7 @@ namespace Game.FsmNode
protected override void OnExit ()
{
UIManager.Instance.CloseView (UIPanel.GamePanel);
MapContent.Instance.IsActiveGame = false;
// MapContent.Instance.Pathfinder.PausePathfinding ();
}