mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
事件系统优化更新
事件系统优化更新 1.使用静态代替单例,静态方法调用时候内存地址无需二次偏移定位 2.UI事件在关闭UI时自动反监听
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
|
||||
{
|
||||
base.OnEnter(procedureOwner);
|
||||
GameEventMgr.Instance.Send(TEngineEvent.OnStartGame);
|
||||
GameEvent.Send(TEngineEvent.OnStartGame);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user