28 lines
892 B
C#
28 lines
892 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|