mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
fixes
This commit is contained in:
parent
bcbb7c917a
commit
e66473c0af
@ -283,7 +283,11 @@ namespace DCFApixels.DragonECS
|
||||
public EcsPipeline Build()
|
||||
{
|
||||
List<IEcsProcess> result = new List<IEcsProcess>(32);
|
||||
List<IEcsProcess> basicBlockList = _systems[_basicLayer];
|
||||
List<IEcsProcess> basicBlockList;
|
||||
if (_systems.TryGetValue(_basicLayer, out basicBlockList) == false)
|
||||
{
|
||||
basicBlockList = new List<IEcsProcess>();
|
||||
}
|
||||
foreach (var item in _systems)
|
||||
{
|
||||
if (!Layers.Contains(item.Key))
|
||||
|
@ -164,6 +164,7 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
return;
|
||||
}
|
||||
_listeners.InvokeOnWorldDestroy();
|
||||
_entityDispenser = null;
|
||||
_pools = null;
|
||||
_nullPool = null;
|
||||
@ -173,6 +174,7 @@ namespace DCFApixels.DragonECS
|
||||
_isDestroyed = true;
|
||||
_poolTypeCode_2_CmpTypeIDs = null;
|
||||
_cmpTypeCode_2_CmpTypeIDs = null;
|
||||
//_entities - не обнуляется для работы entlong.IsAlive
|
||||
}
|
||||
//public void Clear() { }
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user