15 lines
255 B
Rust
15 lines
255 B
Rust
use bevy::prelude::*;
|
|
|
|
mod score;
|
|
|
|
pub struct UiPlugin;
|
|
|
|
impl Plugin for UiPlugin {
|
|
fn build(&self, app: &mut App) {
|
|
app.add_systems((
|
|
score::spawn_score_text.on_startup(),
|
|
score::update_score_text,
|
|
));
|
|
}
|
|
}
|