diff --git a/src/ent.cs b/src/ent.cs index 4193c20..3b3ecd5 100644 --- a/src/ent.cs +++ b/src/ent.cs @@ -134,6 +134,8 @@ namespace DCFApixels.DragonECS return EcsWorld.Worlds[self.world].GetPool().Has(self.id); } [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static bool NotHas(this in ent self) where T : struct => !Has(in self); + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void Del(this in ent self) where T : struct {