You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
18
Assets/Scripts/Game/FsmNode/GameRevert.cs
Normal file
18
Assets/Scripts/Game/FsmNode/GameRevert.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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.RelaxGame);
|
||||
}
|
||||
|
||||
protected override void OnExit ()
|
||||
{
|
||||
UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user