mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
23979b8160
# Objective - Allow not only inserting `Data` into `EmbeddedAssetRegistry` and `Dir` in turn but now also removing it again. - This way when used to embed asset data from *somewhere* but not load it using the conventional means via `AssetServer` (which I observed takes ownership of the `Data`) the `Data` does not need to stay in memory of the `EmbeddedAssetRegistry` throughout the lifetime of the application. ## Solution - added the `remove_asset` functions in `EmbeddedAssetRegistry` and `Dir` ## Testing - added a module unittest - does this require changes if build with feature `embedded_watcher`? |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
README.md |