mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
更新HybirdCLR Procedure
更新HybirdCLR Procedure
This commit is contained in:
19
Assets/GameMain/Scripts/GameProcedure/ProcedureStartGame.cs
Normal file
19
Assets/GameMain/Scripts/GameProcedure/ProcedureStartGame.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user