1 unstable release
0.1.0 | May 15, 2023 |
---|
#1581 in Game dev
15KB
268 lines
How to use
- Add dependency to Cargo.toml (TODO: publish to crates.io)
[dependencies]
bevy_diagnostics_explorer = { git = "...", branch = "main" }
- Add plugin to your app
use bevy_diagnostics_explorer::DiagnosticsExplorerPlugin;
...
.add_plugin(DiagnosticsExplorerPlugin)
- Disable default logging system
use bevy::log::LogPlugin;
...
.disable::<LogPlugin>()
- Enable
trace
feature for Bevy in Cargo.toml:
[dependencies]
bevy = { version = "...", features = ["trace"] }
- Run VSCode with Bevy Diagnostics Explorer extension installed (TODO: publish to marketplace)
Dependencies
~24–37MB
~621K SLoC