mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-17 17:34:36 +08:00
Merge branch 'main' into readme
This commit is contained in:
commit
3912181bff
@ -10,7 +10,7 @@
|
|||||||
<RootNamespace>DCFApixels.DragonECS</RootNamespace>
|
<RootNamespace>DCFApixels.DragonECS</RootNamespace>
|
||||||
|
|
||||||
<Title>DragonECS</Title>
|
<Title>DragonECS</Title>
|
||||||
<Version>0.8.39</Version>
|
<Version>0.8.41</Version>
|
||||||
<Authors>DCFApixels</Authors>
|
<Authors>DCFApixels</Authors>
|
||||||
<Description>ECS Framework for Game Engines with C# and .Net Platform</Description>
|
<Description>ECS Framework for Game Engines with C# and .Net Platform</Description>
|
||||||
<Copyright>DCFApixels</Copyright>
|
<Copyright>DCFApixels</Copyright>
|
||||||
|
7
README-ZN.md.meta
Normal file
7
README-ZN.md.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 877c188fb31b69045adeec8ca9a19b33
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -8,7 +8,7 @@
|
|||||||
"displayName": "DragonECS",
|
"displayName": "DragonECS",
|
||||||
"description": "C# Entity Component System Framework",
|
"description": "C# Entity Component System Framework",
|
||||||
"unity": "2020.3",
|
"unity": "2020.3",
|
||||||
"version": "0.8.39",
|
"version": "0.8.41",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/DCFApixels/DragonECS.git"
|
"url": "https://github.com/DCFApixels/DragonECS.git"
|
||||||
|
@ -373,14 +373,14 @@ namespace DCFApixels.DragonECS
|
|||||||
#if (DEBUG && !DISABLE_DEBUG) || !DISABLE_DRAGONECS_ASSERT_CHEKS
|
#if (DEBUG && !DISABLE_DEBUG) || !DISABLE_DRAGONECS_ASSERT_CHEKS
|
||||||
if (mask._worldID != id) { Throw.World_MaskDoesntBelongWorld(); }
|
if (mask._worldID != id) { Throw.World_MaskDoesntBelongWorld(); }
|
||||||
#endif
|
#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))
|
if (!_pools[mask._inc[i]].Has(entityID))
|
||||||
{
|
{
|
||||||
return false;
|
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))
|
if (_pools[mask._exc[i]].Has(entityID))
|
||||||
{
|
{
|
||||||
@ -553,9 +553,12 @@ namespace DCFApixels.DragonECS
|
|||||||
}
|
}
|
||||||
for (int i = 0; i < _groups.Count; i++)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user