Expand description
The canonical “parent-child” Relationship
for entities, driven by
the ChildOf
Relationship
and the Children
RelationshipTarget
.
See ChildOf
for a full description of the relationship and how to use it.
Structs§
- Stores the parent entity of this child entity with this component.
- Tracks which entities are children of this parent entity.
Functions§
- An
on_insert
component hook that when run, will validate that the parent of a given entity contains componentC
. This will print a warning if the parent does not containC
.
Type Aliases§
- A type alias over
RelatedSpawner
used to spawn child entities containing aChildOf
relationship. - A type alias over
RelatedSpawnerCommands
used to spawn child entities containing aChildOf
relationship.