bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Impl VisitAssetDependencies for HashSet and HashMap

Open jacobdufault opened this issue 1 year ago • 1 comments

Objective

Enables gathering asset dependencies for asset fields of type HashSet/HashMap.

This can be worked-around by new-typing the field. #[derive(Asset)] doesn't seem to allow skipping the automatic VisitAssetDependencies implementation.

Solution

More trait impls.

Testing

cargo build

jacobdufault avatar Jul 05 '24 18:07 jacobdufault