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

32 lines
870 B
C#
Raw Permalink Normal View History

2022-12-29 18:20:40 +08:00
using UnityEngine;
using ProcedureOwner = Axibug.Fsm.IFsm<Axibug.Procedure.IProcedureManager>;
namespace Game
{
//<2F><>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD>
public class ProcedureLaunch : ProcedureBase
{
protected override void OnEnter(ProcedureOwner procedureOwner)
{
base.OnEnter(procedureOwner);
//<2F><>ʼ<EFBFBD><CABC>
AppEntry.BuiltinData.InitBuildInfo();
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
Application.targetFrameRate = 60;
#else
Application.targetFrameRate = -1;
#endif
}
protected override void OnUpdate(ProcedureOwner procedureOwner, float elapseSeconds, float realElapseSeconds)
{
base.OnUpdate(procedureOwner, elapseSeconds, realElapseSeconds);
// <20><><EFBFBD><EFBFBD>һ֡<D2BB><D6A1><EFBFBD>л<EFBFBD><D0BB><EFBFBD> Splash չʾ<D5B9><CABE><EFBFBD><EFBFBD>
ChangeState<ProcedureSplash>(procedureOwner);
}
}
}