Make asset_manager
configurable
#7029
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Enhancement
A new feature
O-Android
Specific to the Android mobile operating system
What problem does this solve or what need does it fill?
Integrating the Bevy engine into an existing app may be a common scenario, but in this scenario it is difficult for the user to manually initialize the
ndk-glue
because theANativeActivity
parameter cannot be provided and the ndk-glue is not initialized which causesAndroidAssetIo::load_path
panic.What solution would you like?
Since
ANativeActivity
is only used in bevy to getasset_manager
:Allowing
asset_manager
to be made available through configuration would give users more freedom.Additional context
Scenario demo: bevy-in-app
The text was updated successfully, but these errors were encountered: