AkiraPixelWind/Assets/Scripts/Main/Procedure/ProcedureInitSystem.cs

36 lines
991 B
C#
Raw Permalink Normal View History

2022-12-29 18:20:40 +08:00
using Axibug.Fsm;
using Axibug.Procedure;
using Axibug.Runtime;
using Game;
using ProcedureBase = Axibug.Procedure.ProcedureBase;
public class ProcedureInitSystem : ProcedureBase
{
private bool m_IsInitSuccessful = false;
//<2F><><EFBFBD><EFBFBD>һЩ<D2BB>ȸ<EFBFBD><C8B8><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>صIJ<D8B5><C4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
{
base.OnEnter(procedureOwner);
Log.Debug("ProcedureGameLaunch::OnEnter");
GamePlayEntry.Init();
//TODO һЩ<D2BB><D0A9>ʼ<EFBFBD><CABC> <20><><EFBFBD><EFBFBD> <20>ȵ<EFBFBD>
m_IsInitSuccessful = true;
}
protected override void OnLeave(IFsm<IProcedureManager> procedureOwner, bool isShutdown)
{
base.OnLeave(procedureOwner, isShutdown);
}
protected override void OnUpdate(IFsm<IProcedureManager> procedureOwner, float elapseSeconds, float realElapseSeconds)
{
base.OnUpdate(procedureOwner, elapseSeconds, realElapseSeconds);
//ChangeState<ProcedurePreload>(procedureOwner);
//TODO
}
}