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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user