4 releases (2 breaking)
0.3.0 | Dec 2, 2024 |
---|---|
0.2.1 | Oct 25, 2024 |
0.2.0 | Oct 25, 2024 |
0.1.0 | Oct 15, 2024 |
#858 in Game dev
163 downloads per month
6MB
2K
SLoC
Bevy UI Inspector
A tool that tries to do what the html / css tools in the chrome dev tools do.
How to use
App::new()
.add_plugins((
DefaultPlugins,
UiInpector,
))
.run()
// To make the gizmos work correctly and not be drawn behind the UI.
// Add a builtin bevy IsDefaultUiCamera component to your Camera.
commands.spawn((
Camera3d { ..default() },
Transform::from_xyz(0.0, 0.0, 15.0).looking_at(Vec3::ZERO, Vec3::Y),
IsDefaultUiCamera,
));
Features
- A way to see the UI node hierarchy
- Fiddling with styling properties while running the app
- A picker to quickly go to a node you want to inspect
Demo
Compatibility
bevy | bevy_ui_inspector |
---|---|
0.15 | 0.3 |
0.14 | 0.2 |
Todos
- More styling properties
- Add background color
- Add selection / changing of text
Dependencies
~35–76MB
~1.5M SLoC