mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
b884f96598
# Objective Fixes #15223 ## Solution Adds an `enabled` flag to the `FpsOverlayConfig` resource with a system that detects it's change, and adjusts the visibility of the overlay text entity. ## Testing I extended the `fps_overlay` example with the option to toggle the overlay. Run with: ``` cargo run --features="bevy_dev_tools" --example fps_overlay ``` |
||
---|---|---|
.. | ||
fps_overlay.rs |