32 lines
870 B
C#
32 lines
870 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|