Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/FsmNode/GameRevert.cs
2024-10-21 16:20:37 +08:00

18 lines
434 B
C#

using Framework.FSMLite;
using Framework.UI;
namespace Game.FsmNode
{
public class GameRevert : StateMachine<GameState>
{
protected override void OnEnter (params object[] args)
{
this.stateMachineRunner.OpenState (GameState.StartGame);
}
protected override void OnExit ()
{
UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName);
}
}
}