Closed slyedoc closed 3 years ago
I exposed the InspectorWindows now in the main
branch, this is how you can control the visibility:
https://github.com/jakobhellermann/bevy-inspector-egui/blob/f73bd92968bdaf8fb0b6e017768038730942ba34/examples/hide_window.rs#L23-L24
I'll released this in the new version 0.6.
Huge thanks, love your work.
Sorry, to add to that, is there a way to control WorldInspector
windows? I didn't find anything obvious from looking at the API or the source.
Closing WorldInspector? Any suggestions?
The world inspector window can only be opened/closed by toggling the enabled
field on the WorldInspectorParams
resource currently.
Any further control like setting the egui window parameter isn't currently possible, but the next version of bevy-inspector-egui for bevy 0.9 will be more flexible, so that you control the window and just embed the world inspector within (discussion about the new version is here https://github.com/jakobhellermann/bevy-inspector-egui/discussions/85)
Is there a way to access InspectorWindows and say control when a window is open, currently forking and making it public, and adding want I need. Am I missing something?
Still new to bevy and egui, and first time using bevy-inspector-egui. Really a pleasure to use though =-)