mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
refactoring
This commit is contained in:
parent
555909fcc0
commit
d1abb9d647
@ -28,7 +28,7 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
private int[] _mapping;
|
private int[] _mapping;
|
||||||
private int[] _counts;
|
private int[] _counts;
|
||||||
private int[] _entites;
|
//private int[] _entites;
|
||||||
private EntityLinkedList _linkedBasket;
|
private EntityLinkedList _linkedBasket;
|
||||||
|
|
||||||
private bool _isJoinExecuted = false;
|
private bool _isJoinExecuted = false;
|
||||||
@ -124,7 +124,7 @@ namespace DCFApixels.DragonECS
|
|||||||
_counts = new int[_targetWorldCapacity];
|
_counts = new int[_targetWorldCapacity];
|
||||||
|
|
||||||
_targetPoolCapacity = _targetPool.Capacity;
|
_targetPoolCapacity = _targetPool.Capacity;
|
||||||
_entites = new int[_targetPoolCapacity];
|
//_entites = new int[_targetPoolCapacity];
|
||||||
_linkedBasket = new EntityLinkedList(_targetPoolCapacity);
|
_linkedBasket = new EntityLinkedList(_targetPoolCapacity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user