From 140433f8f7ab71376404e49a8a47761e733f4e62 Mon Sep 17 00:00:00 2001 From: Mateusz Wachowiak Date: Sat, 9 Mar 2024 13:16:34 +0100 Subject: [PATCH] add warning to FpsOverlayPlugin --- crates/bevy_dev_tools/src/fps_overlay.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_dev_tools/src/fps_overlay.rs b/crates/bevy_dev_tools/src/fps_overlay.rs index 8bf95b363e1dc..da08d774c2ec0 100644 --- a/crates/bevy_dev_tools/src/fps_overlay.rs +++ b/crates/bevy_dev_tools/src/fps_overlay.rs @@ -13,6 +13,7 @@ use bevy_ui::node_bundles::TextBundle; #[derive(Default)] /// A plugin that adds an FPS overlay to the Bevy application. +/// Warning: This plugin will add [`FrameTimeDiagnosticsPlugin`] if it wasn't added before. pub struct FpsOverlayPlugin { /// Starting configuration of overlay, this can be later be changed through `[FpsOverlayConfig]` resource. pub config: FpsOverlayConfig,