NiklasEi / bevy_asset_loader

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

Allow to have a `Handle<LoadedFolder>` #217

Open Selene-Amanita opened 1 month ago

Selene-Amanita commented 1 month ago

bevy_fluent expects a Handle<LoadedFolder> to work, but bevy_asset_loader doesn't allow to have one directly.

It is possible to get around it: https://github.com/kgv/bevy_fluent/issues/43#issuecomment-2120798448 but it is tedious.

bevy_fluent should accept a Vec<UntypedHandle> in the future, but other libraries might want a Handle<LoadedFolder>, it would be convenient for bevy_asset_loader to offer it for collections.