Last active
December 8, 2024 07:05
-
-
Save onkoe/e879270aa60cde545f2b74f492bb09bd to your computer and use it in GitHub Desktop.
checking for system ambiguity in bevy 0.15.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use bevy::{ | |
ecs::schedule::{LogLevel, ScheduleBuildSettings}, | |
prelude::*, | |
}; | |
fn main() -> AppExit { | |
let mut app = App::new(); | |
// ... | |
app.edit_schedule(Main, |s| { | |
s.set_build_settings(ScheduleBuildSettings { | |
ambiguity_detection: LogLevel::Warn, | |
..Default::default() | |
}); | |
}); | |
// ... | |
app.run() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment