mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update EntitySystem.cs
This commit is contained in:
@@ -28,6 +28,8 @@ namespace TEngine.EntityModule
|
|||||||
{
|
{
|
||||||
GameEventMgr.Instance.AddEventListener<int,Action<EcsObject>>(EntityEvent.AttachToEntity, AttachToEntity);
|
GameEventMgr.Instance.AddEventListener<int,Action<EcsObject>>(EntityEvent.AttachToEntity, AttachToEntity);
|
||||||
Update(true);
|
Update(true);
|
||||||
|
MonoUtility.AddFixedUpdateListener(FixedUpdate);
|
||||||
|
MonoUtility.AddLateUpdateListener(LateUpdate);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Key -> HashSet(type) / Value -> Stack(EcsObject)
|
/// Key -> HashSet(type) / Value -> Stack(EcsObject)
|
||||||
|
Reference in New Issue
Block a user