mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
update
This commit is contained in:
parent
0a093763a2
commit
8ac45e7b17
@ -103,7 +103,12 @@ namespace DCFApixels.DragonECS
|
|||||||
return _entityDispenser.UsedToEcsSpan(id);
|
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);
|
// new ReadOnlySpan<IEcsPoolImplementation>(pools, 0, _poolsCount);
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
@ -117,7 +122,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
if (configs == null) { configs = ConfigContainer.Empty; }
|
if (configs == null) { configs = ConfigContainer.Empty; }
|
||||||
bool nullWorld = this is NullWorld;
|
bool nullWorld = this is NullWorld;
|
||||||
if(nullWorld == false && worldID == NULL_WORLD_ID)
|
if (nullWorld == false && worldID == NULL_WORLD_ID)
|
||||||
{
|
{
|
||||||
EcsDebug.PrintWarning($"The world identifier cannot be {NULL_WORLD_ID}");
|
EcsDebug.PrintWarning($"The world identifier cannot be {NULL_WORLD_ID}");
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using System.Collections;
|
using System;
|
||||||
using System;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace DCFApixels.DragonECS
|
namespace DCFApixels.DragonECS
|
||||||
|
Loading…
Reference in New Issue
Block a user