diff --git a/src/Arch.Tests/QueryTest.cs b/src/Arch.Tests/QueryTest.cs index 25778df9..58bc465c 100644 --- a/src/Arch.Tests/QueryTest.cs +++ b/src/Arch.Tests/QueryTest.cs @@ -85,7 +85,7 @@ public void EmptyQuery() _world.Create(); var count = 0; - _world.Query(query, (Entity entity) => count++); + _world.Query(query, _ => count++); That(count, Is.EqualTo(1)); } diff --git a/src/Arch/Arch.csproj b/src/Arch/Arch.csproj index e7a5c98e..07a56890 100644 --- a/src/Arch/Arch.csproj +++ b/src/Arch/Arch.csproj @@ -14,7 +14,7 @@ Arch Arch - 1.2.6.8-alpha + 1.2.7 genaray Apache-2.0 A high performance c# net.6 and net.7 archetype based ECS ( Entity component system ). @@ -24,8 +24,12 @@ DangerousWorldExtension can now return the Slot for an entity, used for dangerou Checking a default entity or reference for IsAlive now returns false. Archetypes with zero entities are now skipped during iteration. BitSets are now vectorized, resulting in faster checks when large amounts of components are used. -.SetEntities for Archetypes as a dangerous util. - c#;.net;.net6;.net7;ecs;game;entity;gamedev; game-development; game-engine; entity-component-system; +.SetEntities for Archetypes as a dangerous util. +Added native-AOT Support: +Faster single .add and .remove operations. +Querys can not iterate "empty" entities. +Removed in Entity modifier for improved performance. + c#;.net;.net6;.net7;ecs;game;entity;gamedev; game-development; game-engine; entity-component-system;stride;unity;godot; https://github.com/genaray/Arch https://github.com/genaray/Arch.git