Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/FsmNode/GameFight.cs
2024-10-21 17:02:25 +08:00

37 lines
1.1 KiB
C#

using System;
using System.Guide;
using Framework.Audio;
using Framework.FSMLite;
using Framework.UI;
using Game.Component;
using Game.Data;
using UnityEngine;
using Views;
namespace Game.FsmNode
{
public class GameFight : StateMachine<GameState>
{
// 基础战斗引导
// ReSharper disable once MemberCanBePrivate.Global
public const string FightGuideTable = "FightGuide";
// ReSharper disable once MemberCanBePrivate.Global
public const string GodEyeGuideTable = "GodEyeGuide";
public static string GroupName = typeof(GameFight).FullName;
protected override async void OnEnter (params object[] args)
{
MapContent.Instance.IsActiveGame = true;
// MapContent.Instance.Pathfinder.
AudioManager.Instance.PlayBGM (BgmAudio.FightingBgm);
var globalData = RoomManager.Instance.RoomGlobalData;
}
protected override void OnExit ()
{
MapContent.Instance.IsActiveGame = false;
// MapContent.Instance.Pathfinder.PausePathfinding ();
}
}
}