You've already forked taptap2024_GJ_chidouren
22 lines
561 B
C#
22 lines
561 B
C#
using System;
|
|
using Framework.Audio;
|
|
using Framework.FSMLite;
|
|
using Framework.UI;
|
|
using Views;
|
|
|
|
namespace Game.FsmNode
|
|
{
|
|
public class GameField : StateMachine<GameState>
|
|
{
|
|
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);
|
|
}
|
|
}
|
|
} |