From 4b617eab16d2e7388aaac0144b2e955035e0e8e3 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:10:46 +0800 Subject: [PATCH 1/5] fix meta --- README-ZN.md.meta | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README-ZN.md.meta diff --git a/README-ZN.md.meta b/README-ZN.md.meta new file mode 100644 index 0000000..d66037d --- /dev/null +++ b/README-ZN.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 877c188fb31b69045adeec8ca9a19b33 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: From d3081f19de5ca9f156f7ad761802d46ce20bc3c3 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:11:55 +0800 Subject: [PATCH 2/5] bug fix --- src/EcsWorld.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 8e63f57..515a0fd 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -553,9 +553,12 @@ namespace DCFApixels.DragonECS } for (int i = 0; i < _groups.Count; i++) { - if (_groups[i].TryGetTarget(out EcsGroup group) && group.IsReleased) + if (_groups[i].TryGetTarget(out EcsGroup group)) { - group.OnReleaseDelEntityBuffer_Internal(buffer); + if(group.IsReleased) + { + group.OnReleaseDelEntityBuffer_Internal(buffer); + } } else { From 1b1350b380c16a0317402b7100bd3ede0caeaabc Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:25:56 +0800 Subject: [PATCH 3/5] up version to 0.8.40 --- DragonECS.csproj | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DragonECS.csproj b/DragonECS.csproj index 129c906..7a5a4c7 100644 --- a/DragonECS.csproj +++ b/DragonECS.csproj @@ -10,7 +10,7 @@ DCFApixels.DragonECS DragonECS - 0.8.39 + 0.8.40 DCFApixels ECS Framework for Game Engines with C# and .Net Platform DCFApixels diff --git a/package.json b/package.json index b811349..9e09780 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS", "description": "C# Entity Component System Framework", "unity": "2020.3", - "version": "0.8.39", + "version": "0.8.40", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS.git" From ec79ef71a7a2b7026e8d2a16a6d90e143eb9e406 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:30:00 +0800 Subject: [PATCH 4/5] fix IsMatchesMask bug --- src/EcsWorld.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 515a0fd..24ac88e 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -373,14 +373,14 @@ namespace DCFApixels.DragonECS #if (DEBUG && !DISABLE_DEBUG) || !DISABLE_DRAGONECS_ASSERT_CHEKS if (mask._worldID != id) { Throw.World_MaskDoesntBelongWorld(); } #endif - for (int i = 0, iMax = mask._incChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._inc.Length; i < iMax; i++) { if (!_pools[mask._inc[i]].Has(entityID)) { return false; } } - for (int i = 0, iMax = mask._excChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._exc.Length; i < iMax; i++) { if (_pools[mask._exc[i]].Has(entityID)) { From 73d8bc9aab9412e7b372dc19f47cfae0a606bfa6 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:30:51 +0800 Subject: [PATCH 5/5] up version to 0.8.41 --- DragonECS.csproj | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DragonECS.csproj b/DragonECS.csproj index 7a5a4c7..55f91c7 100644 --- a/DragonECS.csproj +++ b/DragonECS.csproj @@ -10,7 +10,7 @@ DCFApixels.DragonECS DragonECS - 0.8.40 + 0.8.41 DCFApixels ECS Framework for Game Engines with C# and .Net Platform DCFApixels diff --git a/package.json b/package.json index 9e09780..0610af7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS", "description": "C# Entity Component System Framework", "unity": "2020.3", - "version": "0.8.40", + "version": "0.8.41", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS.git"