mirror of
https://github.com/DCFApixels/DragonECS-Graphs.git
synced 2025-09-18 03:34:35 +08:00
fixes
This commit is contained in:
parent
9c50a88266
commit
57e33fbe3f
@ -181,10 +181,10 @@ namespace DCFApixels.DragonECS.Relations.Utils
|
||||
var (startEntityID, endEntityID) = _source.GetRelationInfo(relEntityID);
|
||||
ref RelNodesInfo relInfo = ref _relNodesMapping[relEntityID];
|
||||
_startBaskets.RemoveFromBasket(startEntityID, relInfo.startNodeIndex);
|
||||
//if (!_isLoop)
|
||||
//{
|
||||
if (!_isLoop)
|
||||
{
|
||||
_startBaskets.RemoveFromBasket(endEntityID, relInfo.endNodeIndex);
|
||||
//}
|
||||
}
|
||||
}
|
||||
public void DelStart(int startEntityID)
|
||||
{
|
||||
|
@ -102,10 +102,10 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
_startWorldHandler.Destroy();
|
||||
_arcWorldHandler.Destroy();
|
||||
//if (!_isLoop)
|
||||
//{
|
||||
_endWorldHandler.Destroy();
|
||||
//}
|
||||
if (!_isLoop)
|
||||
{
|
||||
_endWorldHandler.Destroy();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -92,14 +92,11 @@ namespace DCFApixels.DragonECS
|
||||
if (nodeIndex <= 0)
|
||||
{
|
||||
//Throw.ArgumentOutOfRange();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
ref BasketInfo basketInfo = ref _baskets[basketIndex];
|
||||
|
||||
if (basketInfo.count <= 4)
|
||||
{
|
||||
|
||||
}
|
||||
ref var node = ref _nodes[nodeIndex];
|
||||
int nextNode = node.next;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user