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