This commit is contained in:
LorrensP-2158466
2025-04-05 19:45:58 +02:00
parent e71e840d9f
commit ec5c4b6205
2 changed files with 10 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
use bevy::{prelude::*, window::CursorOptions};
use bevy::prelude::*;
/// Overrides the default Bevy plugins and configures things like the screen settings.
pub(super) fn plugin(app: &mut App) {
@@ -6,13 +6,6 @@ pub(super) fn plugin(app: &mut App) {
DefaultPlugins.set(WindowPlugin {
primary_window: Window {
title: "Among Me".into(),
// This will spawn an invisible window
// The window will be made visible in the make_visible() system after 3 frames.
// This is useful when you want to avoid the white window that shows up before the GPU is ready to render the app.
cursor_options: CursorOptions {
visible: false,
..default()
},
..default()
}
.into(),