fix hybrid pool

This commit is contained in:
Mikhail 2023-06-30 00:37:54 +08:00
parent 44e0792517
commit 7b30dc9e53

View File

@ -88,7 +88,7 @@ namespace DCFApixels.DragonECS
else
{//not null
_listeners.InvokeOnDel(entityID);
component.OnDelFromPool();
_items[itemIndex].OnDelFromPool();
}
_listeners.InvokeOnAdd(entityID);
component.OnAddToPool();