diff --git a/crates/bevy_app/src/app_builder.rs b/crates/bevy_app/src/app_builder.rs index aecafdc311..d7715afb1a 100644 --- a/crates/bevy_app/src/app_builder.rs +++ b/crates/bevy_app/src/app_builder.rs @@ -164,6 +164,7 @@ impl AppBuilder { pub fn add_default_stages(&mut self) -> &mut Self { self.add_startup_stage(stage::STARTUP) + .add_startup_stage(stage::POST_STARTUP) .add_stage(stage::FIRST) .add_stage(stage::EVENT_UPDATE) .add_stage(stage::PRE_UPDATE) diff --git a/crates/bevy_app/src/stage.rs b/crates/bevy_app/src/stage.rs index 8c1d48dabb..611bc956b7 100644 --- a/crates/bevy_app/src/stage.rs +++ b/crates/bevy_app/src/stage.rs @@ -1,6 +1,9 @@ /// Name of app stage that runs once when an app starts up pub const STARTUP: &str = "startup"; +/// Name of app stage that runs once after startup +pub const POST_STARTUP: &str = "post_startup"; + /// Name of app stage that runs before all other app stages pub const FIRST: &str = "first";