diff --git a/src/Rev2/Compatibility/Manipulator.cs b/src/Rev2/Compatibility/Manipulator.cs index a779b31..2538952 100644 --- a/src/Rev2/Compatibility/Manipulator.cs +++ b/src/Rev2/Compatibility/Manipulator.cs @@ -8,7 +8,8 @@ public class Manipulator : EntityComponentReader protected void Set(in EntityId entity, in TComponent component) where TComponent : unmanaged => World.Set(entity, component); protected void Remove(in EntityId entity) where TComponent : unmanaged => World.Remove(entity); - protected void Unrelate(in EntityId entityA, in EntityId entityB) where TRelationKind : unmanaged => World.Unrelate(entityA, entityB); - protected void UnrelateAll(in EntityId entity) where TRelationKind : unmanaged => World.UnrelateAll(entity); + protected void Relate(in EntityId entityA, in EntityId entityB, in T relation) where T : unmanaged => World.Relate(entityA, entityB, relation); + protected void Unrelate(in EntityId entityA, in EntityId entityB) where T : unmanaged => World.Unrelate(entityA, entityB); + protected void UnrelateAll(in EntityId entity) where T : unmanaged => World.UnrelateAll(entity); protected void Destroy(in EntityId entity) => World.Destroy(entity); }