diff --git a/examples/ecs/hierarchy.rs b/examples/ecs/hierarchy.rs index b61f21f24ae94..2729b63b3eb88 100644 --- a/examples/ecs/hierarchy.rs +++ b/examples/ecs/hierarchy.rs @@ -40,7 +40,7 @@ fn setup(mut commands: Commands, asset_server: Res) { // Store parent entity for next sections .id(); - // Another way is to use the push_children function to add children after the parent + // Another way is to use the add_child function to add children after the parent // entity has already been spawned. let child = commands .spawn(SpriteBundle {