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

34 lines
961 B
C#
Raw Normal View History

2023-01-02 23:28:14 +08:00
using Axibug.Fsm;
using Axibug.Procedure;
using Axibug.Runtime;
using Game;
using ProcedureBase = Axibug.Procedure.ProcedureBase;
public class ProcedureScenesLoad : ProcedureBase
{
private bool m_IsLoadSuccessful = 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("ProcedureScenesLoad::OnEnter");
GamePlayEntry.Map.LoadMap(1);
m_IsLoadSuccessful = 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<ProcedureInitRole>(procedureOwner);
//TODO
}
}