unsafe drag drop test

- unsafe because of entity reference
- unsafe because of unsafe code lol
- fixes in parent/child system
This commit is contained in:
max
2024-10-15 22:29:19 +02:00
parent 5cc876fce9
commit ba88432e77
6 changed files with 79 additions and 14 deletions
+1
View File
@@ -31,6 +31,7 @@ internal class Program
editorSystems.Add(new EditorHierarchyWindow(world));
Entity ent1 = world.CreateEntity("parent");
world.Set(ent1, new Root());
world.Set(ent1, new LocalTransform(new Vector3(1, 0, 0), Quaternion.Identity, Vector3.One));
Entity ent2 = world.CreateEntity("child");