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

28 lines
892 B
C#
Raw Permalink Normal View History

2022-12-29 18:20:40 +08:00
using Axibug.Runtime;
using ProcedureOwner = Axibug.Fsm.IFsm<Axibug.Procedure.IProcedureManager>;
namespace Game
{
public class ProcedureSplash : ProcedureBase
{
protected override void OnUpdate(ProcedureOwner procedureOwner, float elapseSeconds, float realElapseSeconds)
{
base.OnUpdate(procedureOwner, elapseSeconds, realElapseSeconds);
if (AppEntry.Base.EditorResourceMode)
{
// <20><EFBFBD><E0BCAD>ģʽ
Log.Info("<22><>Ϸģʽ<C4A3><CABD><EFBFBD><EFBFBD><E0BCAD>ģʽ.");
//procedureOwner.SetData<VarString>("message", "<22><EFBFBD><E0BCAD>ģʽ");
ChangeState<ProcedureInitSystem>(procedureOwner);
}
else
{
// <20>ȸ<EFBFBD><C8B8><EFBFBD>ģʽ
Log.Info("<22><>Ϸģʽ<C4A3><CABD><EFBFBD>ȸ<EFBFBD><C8B8><EFBFBD>ģʽ.");
ChangeState<ProcedureCheckVersion>(procedureOwner);
}
}
}
}