draw visual effects on top of menu/hud
This commit is contained in:
parent
f1725fcab5
commit
59fefad6d3
|
@ -17,7 +17,7 @@ pub struct VisualPlugin;
|
||||||
|
|
||||||
impl Plugin for VisualPlugin {
|
impl Plugin for VisualPlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_systems(Startup, setup);
|
app.add_systems(Startup, setup.after(menu::setup).after(hud::setup));
|
||||||
app.add_systems(Startup, spawn_effects.after(setup).after(camera::setup_camera));
|
app.add_systems(Startup, spawn_effects.after(setup).after(camera::setup_camera));
|
||||||
app.add_systems(Update, spawn_effects);
|
app.add_systems(Update, spawn_effects);
|
||||||
app.add_systems(Update, update_fadein);
|
app.add_systems(Update, update_fadein);
|
||||||
|
|
Loading…
Reference in a new issue