com.artromskiy.deltaecs.unity 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/Editor/HierarchyNodeHandler.cs +3 -3
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -525,15 +525,15 @@ namespace Delta.ECS.Unity.Editor
|
|
|
525
525
|
bool changed = false;
|
|
526
526
|
runtimeWorld.World.ForEachEntity(in query, entity =>
|
|
527
527
|
{
|
|
528
|
-
if (runtimeWorld.TryGetStableId(entity, out _) || runtimeWorld.TryGetView(entity, out _))
|
|
528
|
+
if (runtimeWorld.TryGetStableId(entity.Handle, out _) || runtimeWorld.TryGetView(entity.Handle, out _))
|
|
529
529
|
{
|
|
530
530
|
return;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
var key = new EntityKey(runtimeWorld, entity);
|
|
533
|
+
var key = new EntityKey(runtimeWorld, entity.Handle);
|
|
534
534
|
_activeEntityKeys.Add(key);
|
|
535
535
|
string name = $"ECS Entity {entity.Index}:{entity.Generation}";
|
|
536
|
-
var reference = new NodeReference(authoring, null, runtimeWorld, entity);
|
|
536
|
+
var reference = new NodeReference(authoring, null, runtimeWorld, entity.Handle);
|
|
537
537
|
if (_entityNodes.TryGetValue(key, out EntityNode entityNode))
|
|
538
538
|
{
|
|
539
539
|
if (entityNode.Reference.RuntimeWorld != reference.RuntimeWorld
|
package/README.md
CHANGED