bevy/crates/bevy_scene
Brandon Reinhart 7570c9f3d2
Map entities from a resource when written to the world. (#13650)
# Objective

- Fix #10958 by performing entity mapping on the entities inside of
resources.

## Solution

- Resources can reflect(MapEntitiesResource) and impl MapEntities to get
access to the mapper during the world insert of the scene.

## Testing

- A test resource_entity_map_maps_entities confirms the desired
behavior.

## Changelog

- Added reflect(MapEntitiesResource) for mapping entities on Resources
in a DynamicScene.

fixes 10958
2024-06-03 16:33:24 +00:00
..
src Map entities from a resource when written to the world. (#13650) 2024-06-03 16:33:24 +00:00
Cargo.toml
README.md

Bevy Scene

License Crates.io Downloads Docs Discord