-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
What problem does this solve or what need does it fill?
Currently, SubApp functionality is constrained by its limited integration with Bevy's ECS systems. The inability to pack SubApps as Components restricts their flexibility and prevents them from being operated within arbitrary systems.
What solution would you like?
If posible, treat SubApp instances as first-class App, allowing them to be:
Packaged as Components
Operated within any system context
Managed through standard ECS operations
This approach would enable the deprecation of the dedicated SubApps resource and ExtractFn infrastructure, streamlining the architecture.
What alternative(s) have you considered?
One potential alternative involves implementing Sync for SubApp to package as Components safely.
Additional context
It's worth noting that current SubApp usage (except RenderApp) remains relatively limited across the Bevy plugin ecosystem, suggesting this refactor could simplify the codebase without significant ecosystem disruption.