Skip to content

Commit

Permalink
add warning to FpsOverlayPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
matiqo15 committed Mar 9, 2024
1 parent 4dba1aa commit 140433f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_dev_tools/src/fps_overlay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 140433f

Please sign in to comment.