-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
Description
What problem does this solve or what need does it fill?
Reusing system sets is currently challenging: users may for example want to run a collection of systems in several states at once.
What solution would you like?
Add with_system_set to match with_system on the SystemSet struct.
What alternative(s) have you considered?
More completely overhaul / reorganize system sets and scheduling.
Additional context
This should be relatively straightforward for newcomers who want to get to know the ECS a bit better. Follow the impl here:
| pub fn with_system<Params>(mut self, system: impl IntoSystemDescriptor<Params>) -> Self { |
and push the systems from the new system set into self's corresponding field instead.
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 useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished