bevy/crates/bevy_ecs/src/reflect
Niashi 8bfe635c3e
Finish enhancing ReflectCommandExt to work with Bundles (#15152)
# Objective

- Finish resolving https://github.com/bevyengine/bevy/issues/15125
- Inserting bundles was implemented in
https://github.com/bevyengine/bevy/pull/15128 but removing bundles still
needed to be implemented.

## Solution

- Modified `bevy_ecs::reflect::entity_commands::remove_reflect` to
handle both components and bundles
- Modified documentation of `ReflectCommandExt` methods to reflect that
one can now use bundles with these commands.

## Testing

- Three tests were added to match the ones for inserting components.
2024-09-11 03:19:28 +00:00
..
bundle.rs reflect: implement the unique reflect rfc (#7207) 2024-08-12 17:01:41 +00:00
component.rs Use map_unchanged in reflection instead of creating a Mut manually. (#14692) 2024-08-15 14:26:57 +00:00
entity_commands.rs Finish enhancing ReflectCommandExt to work with Bundles (#15152) 2024-09-11 03:19:28 +00:00
from_world.rs fix some typos (#12038) 2024-02-22 18:55:22 +00:00
map_entities.rs Map entities from a resource when written to the world. (#13650) 2024-06-03 16:33:24 +00:00
mod.rs reflect: implement the unique reflect rfc (#7207) 2024-08-12 17:01:41 +00:00
resource.rs Use map_unchanged in reflection instead of creating a Mut manually. (#14692) 2024-08-15 14:26:57 +00:00