This commit is contained in:
Mikhail 2024-11-07 16:21:51 +08:00
parent 09b209a7c0
commit 4ee6f8a0f1
2 changed files with 4 additions and 4 deletions

View File

@ -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++)

View File

@ -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; }