jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.19k stars 173 forks source link

Filter entities By name in the World Inspector #30

Closed wendivoid closed 3 years ago

wendivoid commented 3 years ago

Hello, In my project I've implemented the ability to filter entities by name using an Option<String> in the WorldInspectorParams struct. If this is a feature you would like I'll have some time the next couple of days to submit a PR.

Here is an image of my Project that shows it in use. DevToolsImage

Currently it calls to_lowercase on both the entity name & the filter_string but an option to change this behavior would be trivial to add later.

jakobhellermann commented 3 years ago

That sounds very useful, I'd appreciate a PR!

wendivoid commented 3 years ago

Closed by #31