docs.rs failed to build bevy-inspector-egui-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
bevy-inspector-egui-0.24.0
bevy-inspector-egui
This crate provides the ability to annotate structs with a #[derive(Inspectable)]
,
which opens a debug interface using egui where you can visually edit the values of your struct live.
Your struct will then be available to you as a bevy resource.
More examples (with pictures) can be found in the examples folder
.
Example
use Inspectable;
Add the InspectorPlugin
to your App.
use InspectorPlugin;
// fn your_system(data: Res<Data>) { /* */ }
World Inspector
If you want to display all world entities you can add the WorldInspector
:
use WorldInspectorPlugin;
You can configure it by inserting the WorldInspectorParams
resource.
If you want to only display some components, you may want to use the InspectorQuery instead.
Bevy support table
bevy | bevy-inspector-egui |
---|---|
0.5 | 0.1-0.4 |
0.4 | 0.1-0.3 |