0.5
- Update to bevy 0.12.
- Add missing docs for
Scope
. Scope
now works withCommands
and does not require a&mut World
.- Added partial
bevy_hierarchy
compatibility. All of the query APIs can be used to perform operations withbevy_hierarchy
edges.
fn sys(
query: Query<(&C, Relations<Hierarchy>)>,
roots: Query<Entity, (With<Children>, Without<Parent>)>
) {
query.traverse::<Hierarchy>(roots.iter()).for_each(|c, _| {
// ..
})
}