simple refactoring

This commit is contained in:
DCFApixels 2025-03-10 22:55:34 +08:00
parent 5ba5b7094d
commit 67fb791544
3 changed files with 38 additions and 38 deletions

View File

@ -8,8 +8,8 @@ namespace DCFApixels.DragonECS
{ {
public partial class EcsWorld public partial class EcsWorld
{ {
private SparseArray<int> _poolTypeCode_2_CmpTypeIDs = new SparseArray<int>(); private readonly SparseArray<int> _poolTypeCode_2_CmpTypeIDs = new SparseArray<int>();
private SparseArray<int> _cmpTypeCode_2_CmpTypeIDs = new SparseArray<int>(); private readonly SparseArray<int> _cmpTypeCode_2_CmpTypeIDs = new SparseArray<int>();
internal IEcsPoolImplementation[] _pools; internal IEcsPoolImplementation[] _pools;
internal PoolSlot[] _poolSlots; internal PoolSlot[] _poolSlots;