hierachy and parent child system updates

- started working on an editor hierarchy window
- testing filters
- testing parent child relations without system
- testing root component
- thinking about how to get all entities that are not a child, but also don't have an other identifying component
This commit is contained in:
max
2024-10-15 00:41:45 +02:00
parent 0d14a32726
commit 91b4f5fafb
8 changed files with 215 additions and 77 deletions

View File

@ -2,7 +2,10 @@
namespace Nerfed.Runtime.Components
{
public readonly record struct Parent(Entity parentEntity);
public readonly record struct PreviousParent(Entity parentEntity);
public readonly record struct ChildRelation;
public readonly record struct Root;
//public readonly record struct Parent;
//public readonly record struct PreviousParent;
public readonly record struct Child;
// Describes a relation from the child to the parent.
public readonly record struct ChildParentRelation;
}

View File

@ -0,0 +1,4 @@
namespace Nerfed.Runtime.Components
{
public readonly record struct Test();
}