bevy/crates/bevy_ecs/src/system/commands
harudagondi b3fa4790b7 Add ability to inspect entity's components (#5136)
# Objective

- Provide a way to see the components of an entity.
- Fixes #1467

## Solution

- Add `World::inspect_entity`. It accepts an `Entity` and returns a vector of `&ComponentInfo` that the entity has.
- Add `EntityCommands::log_components`. It logs the component names of the entity. (info level)

---

## Changelog

### Added
- Ability to inspect components of an entity through `World::inspect_entity` or `EntityCommands::log_components`
2022-06-30 15:23:09 +00:00
..
command_queue.rs Improve soundness of CommandQueue (#4863) 2022-05-30 22:45:09 +00:00
mod.rs Add ability to inspect entity's components (#5136) 2022-06-30 15:23:09 +00:00
parallel_scope.rs Add ParallelCommands system parameter (#4749) 2022-06-06 14:46:41 +00:00