mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update ProcedureStartGame.cs
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
namespace TEngine.Runtime
|
||||
{
|
||||
public static partial class TEngineEvent
|
||||
{
|
||||
public static readonly int OnStartGame = StringId.StringToHash("TEngineEvent.OnStartGame");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 流程加载器 - 终点StartGame
|
||||
/// </summary>
|
||||
@@ -13,7 +18,7 @@
|
||||
protected internal override void OnEnter(IFsm<IProcedureManager> procedureOwner)
|
||||
{
|
||||
base.OnEnter(procedureOwner);
|
||||
GameEventMgr.Instance.Send("OnEnterGame");
|
||||
GameEventMgr.Instance.Send(TEngineEvent.OnStartGame);
|
||||
}
|
||||
|
||||
protected internal override void OnLeave(IFsm<IProcedureManager> procedureOwner, bool isShutdown)
|
||||
|
Reference in New Issue
Block a user