-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR
Description
What problem does this solve or what need does it fill?
Now that all Component
s are Bundle
s, it seems like this could be done, in theory.
It would potentially reduce Query type complexity:
pub fn my_system(Query<&Name, (With<Foo>, With<Bar>, With<Baz>)>) {}
// vs
pub fn my_system(Query<&Name, With<(Foo, Bar, Baz)>>) {}
What solution would you like?
Implement With<T: Bundle>
and Without<T: Bundle>
, rather than With<T: Component>
.
What alternative(s) have you considered?
Continue to work under status quo.
GiantFrog and dimvoly
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR