/// The `VisiblityChangeListenerPlugin` plugin registers a listener that fires when bevy's visibility is changed (eg. the user switches to a different browser tab)
///
/// The user may decide to run the `Main` schedule once after the visibility changes to hidden.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub struct VisiblityChangeListenerPlugin {
pub run_main_schedule_on_hide: bool,
}
Derive default would mean run_main_schedule_on_hide defaults to false. Is this a desired default?
Derive default would mean
run_main_schedule_on_hide
defaults to false. Is this a desired default?Probably not?