mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 11:33:06 +00:00
b3fa4790b7
# 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` |
||
---|---|---|
.. | ||
command_queue.rs | ||
mod.rs | ||
parallel_scope.rs |