Add controller-driven debug menu

This commit is contained in:
2026-08-30 18:33:40 +02:00
parent 1d5a07324d
commit 8b9e300277
14 changed files with 619 additions and 80 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ impl Plugin for FighterNetcodePlugin {
// Gameplay components are registered by the plugin that owns them.
.rollback_component_with_clone::<Transform>()
.rollback_component_with_clone::<Name>()
.add_systems(EguiPrimaryContextPass, debug::network_debug)
.add_systems(
EguiPrimaryContextPass,
debug::network_debug.run_if(crate::debug_tools::network_enabled),
)
.add_systems(Update, session::print_events_system)
.insert_resource(RollbackFrameRate(60));
}