You've already forked taptap2024_GJ_chidouren
25 lines
668 B
C#
25 lines
668 B
C#
using System;
|
|
using Framework.Audio;
|
|
using Framework.FSMLite;
|
|
using Framework.UI;
|
|
using Game.Data;
|
|
using Game.EventDefine;
|
|
using Views;
|
|
|
|
namespace Game.FsmNode
|
|
{
|
|
public class GameStart : StateMachine<GameState>
|
|
{
|
|
protected override async void OnEnter (params object[] args)
|
|
{
|
|
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
|
|
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
|
|
UIManager.Instance.CloseLoading (null);
|
|
}
|
|
|
|
protected override void OnExit ()
|
|
{
|
|
UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName);
|
|
}
|
|
}
|
|
} |