This commit is contained in:
Mikhail 2024-03-07 21:24:16 +08:00
parent 0a093763a2
commit 8ac45e7b17
2 changed files with 9 additions and 4 deletions

View File

@ -103,7 +103,12 @@ namespace DCFApixels.DragonECS
return _entityDispenser.UsedToEcsSpan(id);
}
}
public ReadOnlySpan<IEcsPoolImplementation> AllPools
public int PoolsCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get { return _poolsCount; }
}
public ReadOnlySpan<IEcsPool> AllPools
{
// new ReadOnlySpan<IEcsPoolImplementation>(pools, 0, _poolsCount);
[MethodImpl(MethodImplOptions.AggressiveInlining)]

View File

@ -1,5 +1,5 @@
using System.Collections;
using System;
using System;
using System.Collections;
using System.Collections.Generic;
namespace DCFApixels.DragonECS