更新HybirdCLR Procedure

更新HybirdCLR Procedure
This commit is contained in:
ALEXTANG
2022-10-25 11:06:27 +08:00
parent 3146dfdc73
commit 54ff5fab41
23 changed files with 99 additions and 124 deletions

View File

@@ -0,0 +1,19 @@
namespace TEngine.Runtime
{
public static partial class TEngineEvent
{
public static readonly int OnStartGame = StringId.StringToHash("TEngineEvent.OnStartGame");
}
/// <summary>
/// 流程加载器 - 终点StartGame
/// </summary>
public class ProcedureStartGame : ProcedureBase
{
protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
{
base.OnEnter(procedureOwner);
GameEventMgr.Instance.Send(TEngineEvent.OnStartGame);
}
}
}