vleue / bevy_embedded_assets

Bevy plugin to embed assets in your game
149 stars 10 forks source link

Add support for AssetMode::Processed #18

Closed jf908 closed 5 months ago

jf908 commented 6 months ago

I wanted to use this plugin with AssetMode::Processed with PluginMode::ReplaceDefault so I made these minimal changes to get it to work.

The default asset folder is selected based on whether an imported_assets folder exists or not. Ideally it would be selected whether AssetMode::Processed is set but I don't think can be known at compile time.

mockersf commented 5 months ago

thanks!