Deprecate App::add_system
in favor of allowing single systems to be passed into add_systems
#7992
Labels
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
X-Controversial
There is active debate or serious implications around merging this PR
Milestone
What problem does this solve or what need does it fill?
There are several problems here:
add_system
asadd_systems
and vice versa.What solution would you like?
Bundle
forComponent
. UseBundle
tuples for insertion #2975 and impl the relevant trait for single systems.App::add_system
.This must have a deprecation notice to reduce the migration pain.
Additional context
Discussed on Discord with @cart.
We could do the same thing for plugins later. See #7631 for a parallel problem there.
The text was updated successfully, but these errors were encountered: