using System; using Framework.Audio; using Framework.FSMLite; using Framework.UI; using Views; namespace Game.FsmNode { public class GameField : StateMachine { protected override void OnEnter (params object[] args) { AudioManager.Instance.PlaySoundEffect(SeAudio.OverGame_Fail); } protected override void OnExit () { UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName); UIManager.Instance.CloseViewWithGroup (GameFight.GroupName); } } }