You've already forked taptap2024_GJ_chidouren
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System;
|
|
using System.StateSystem;
|
|
using Framework.FSMLite;
|
|
using Framework.UI.SystemUI.Script;
|
|
using IcecreamView;
|
|
|
|
namespace StateSystem.State
|
|
{
|
|
public class StateGameBegin: StateMachine<GameGlobalState>
|
|
{
|
|
protected override void OnEnter(params object[] args)
|
|
{
|
|
// #if !UNITY_EDITOR || (SystemUITest && UNITY_EDITOR)
|
|
// SystemUIMgr.Instance.OpenView(SystemUIMgr.GameAdvicePanel , new IC_ViewData(new Action(OnComplete)));
|
|
// #else
|
|
// SystemUIMgr.Instance.OpenView(SystemUIMgr.GameAdvicePanel , new IC_ViewData(new Action(OnComplete)));
|
|
// #endif
|
|
CameraEffectUtils.Instance.SetGameCamBlur (0 , 0 , null);
|
|
//初始基础加载页面
|
|
BeginStaticPanel.Create ();
|
|
OnComplete();
|
|
}
|
|
|
|
private void OnComplete()
|
|
{
|
|
GameStateManager.Instance.OpenState(GameGlobalState.GameAssetCheck , GameGlobalConfig.Instance.AssetRemotePath);
|
|
}
|
|
|
|
protected override void OnExit()
|
|
{
|
|
}
|
|
}
|
|
} |