Need a way to call the setup()
of the plugins that have been registered in the App manually
#7576
Labels
A-App
Bevy apps and plugins
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
What problem does this solve or what need does it fill?
Due to changes in #7046, it is now necessary to have a way to call the
setup
function of the plugins that have been registered in the App when using an external event loop to drive a bevy App.bevy/crates/bevy_app/src/app.rs
Lines 295 to 300 in 1ffeff1
What solution would you like?
Make
plugin_registry
public?What alternative(s) have you considered?
Move relevant code above into a separate
pub fn
?Additional context
External event loop demo: https://github.com/jinleili/bevy-in-app
The text was updated successfully, but these errors were encountered: