NiklasEi / bevy_asset_loader

Bevy plugin helping with asset loading and organization
Apache License 2.0
452 stars 53 forks source link

add DynamicAssets::iter_assets method #146

Closed inodentry closed 11 months ago

inodentry commented 11 months ago

In my project I want to iterate over the entire set of dynamic assets that bevy_asset_loader has detected and filter that iterator to load different assets based on the string key.

There was no way to iterate over all dynamic assets, only to lookup/get a specific one. This PR addresses this omission. :)