bevy-inspector-egui
This crate provides a debug interface using egui where you can visually edit the values of your components live.
Usage
You can either inspect a single resource using the InspectorPlugin
, or use the WorldInspectorPlugin
to inspect all entities.
InspectorPlugin
use *;
use ;
World inspector
use *;
use WorldInspectorPlugin;
You can configure the WorldInspectorPlugin
by inserting the WorldInspectorParams
resource.
If you want to only display some components, you may want to use the InspectorQuery instead.
If you want custom types to be displayed in the inspector, you'll need to register them on the InspectableRegistry
:
use *;
use ;
;
;
More examples (with pictures) can be found in the examples folder
.
Bevy support table
bevy | bevy-inspector-egui |
---|---|
0.6 | 0.7 |
0.5 | 0.5-0.6 |
0.5 | 0.4 |
0.4 | 0.1-0.3 |