Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/FsmNode/GamePart.cs
2024-10-16 00:03:41 +08:00

27 lines
632 B
C#

using System;
using Framework.Audio;
using Framework.FSMLite;
using Framework.UI;
using Game.EventDefine;
using IcecreamView;
using UnityEngine;
using Views;
namespace Game.FsmNode
{
public class GamePart : StateMachine<GameState>
{
private int _lastPartLayer = -1;
private int _lastLevelIndex = -1;
protected override void OnEnter (params object[] args)
{
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
}
protected override void OnExit ()
{
UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName);
}
}
}