From 46be19bc9dbfde46fa7849fe0debc363d172ca67 Mon Sep 17 00:00:00 2001 From: Sander Mertens Date: Sun, 5 May 2024 20:54:35 -0700 Subject: [PATCH] Fix headers in Relationships.md --- docs/Relationships.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Relationships.md b/docs/Relationships.md index b535b50c5..b5a59568f 100644 --- a/docs/Relationships.md +++ b/docs/Relationships.md @@ -1775,7 +1775,7 @@ The last step will delete all remaining entities. At this point cleanup policies ## Relationship properties Relationship properties are tags that can be added to relationships to modify their behavior. -## Trait property +### Trait property The trait property marks an entity as a trait, which is any tag that is added to another tag/component/relationship to modify its behavior. All properties in this section are marked as trait. It is not required to mark a property as a trait before adding it to another tag/component/relationship. The main reason for the trait property is to ease some of the constraints on relationships (see the Relationship property). ```c @@ -1806,7 +1806,7 @@ world.Component().Entity.Add(Ecs.Trait); -## Relationship property +### Relationship property The relationship property enforces that an entity can only be used as relationship. Consider the following example: ```c @@ -1898,7 +1898,7 @@ world.Component().Entity.Add(Ecs.With, world.Component().Entity); -## Target property +### Target property The target property enforces that an entity can only be used as relationship target. Consider the following example: ```c