Closed CodingJinxx closed 1 year ago
This might be much nicer solved by setting the asset_folder
as part of the AssetPlugin
to be _content/BlazoredBevy.UI/assets
. Have you tried that?
I close this for now.
If the proposed solution doesn't work or you see any other reason why this requires changes in bevy_asset_loader
, feel free to comment and reopen the issue 🙂
Adding a Optional Prefix to asset urls allows easier integration for Bevy WASM into existing Webtechnologies. For example in my case i had to prefix my asset path with _content because blazors routing ended up placing my assets at that url. Adding a simple method to the builder would allow me to do this
instead of: