mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
insert AUTO_DEL_LAYER after POST_END_LAYER
This commit is contained in:
parent
28e786ca7a
commit
75031b0014
@ -54,7 +54,7 @@ namespace DCFApixels.DragonECS
|
||||
where TComponent : struct, IEcsComponent
|
||||
{
|
||||
if (AUTO_DEL_LAYER == layerName)
|
||||
b.Layers.Insert(EcsConsts.POST_END_LAYER, AUTO_DEL_LAYER);
|
||||
b.Layers.InsertAfter(EcsConsts.POST_END_LAYER, AUTO_DEL_LAYER);
|
||||
b.AddUnique(new DeleteOneFrameComponentSystem<TComponent>(), layerName);
|
||||
return b;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user