Skip to content

0.5

Compare
Choose a tag to compare
@iiYese iiYese released this 08 Nov 17:09
· 33 commits to main since this release
a088820
  • Update to bevy 0.12.
  • Add missing docs for Scope.
  • Scope now works with Commands and does not require a &mut World.
  • Added partial bevy_hierarchy compatibility. All of the query APIs can be used to perform operations with bevy_hierarchy edges.
fn sys(
    query: Query<(&C, Relations<Hierarchy>)>,
    roots: Query<Entity, (With<Children>, Without<Parent>)>
) {
    query.traverse::<Hierarchy>(roots.iter()).for_each(|c, _| {
        // ..
    })
}