mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
fxies
This commit is contained in:
parent
09b209a7c0
commit
4ee6f8a0f1
@ -937,7 +937,7 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
GetComponentTypeIDsFor_Internal(entityID, poolIdsPtr, count);
|
GetComponentTypeIDsFor_Internal(entityID, poolIdsPtr, count);
|
||||||
|
|
||||||
if(list.Count != count)
|
if (list.Count != count)
|
||||||
{
|
{
|
||||||
list.Clear();
|
list.Clear();
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
|
@ -33,7 +33,7 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
public void GetMaskQueryExecutors(List<MaskQueryExecutor> result, ref int version)
|
public void GetMaskQueryExecutors(List<MaskQueryExecutor> result, ref int version)
|
||||||
{
|
{
|
||||||
if(_executorCoures == null || version == _executorCoures.Count)
|
if (_executorCoures == null || version == _executorCoures.Count)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -42,7 +42,7 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
foreach (var item in _executorCoures)
|
foreach (var item in _executorCoures)
|
||||||
{
|
{
|
||||||
if(item.Value is MaskQueryExecutor x)
|
if (item.Value is MaskQueryExecutor x)
|
||||||
{
|
{
|
||||||
result.Add(x);
|
result.Add(x);
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ namespace DCFApixels.DragonECS.Core
|
|||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get { return _source; }
|
get { return _source; }
|
||||||
}
|
}
|
||||||
protected EcsMask Mask
|
public EcsMask Mask
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get { return _mask; }
|
get { return _mask; }
|
||||||
|
Loading…
Reference in New Issue
Block a user