Add reflection & debug inspector stuff to Score

This commit is contained in:
2025-08-14 13:10:47 -05:00
parent 40ee042b53
commit 0a7ffcfa0a
2 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ impl Plugin for AsteroidPlugin {
.insert_resource(Lives(3))
.register_type::<Lives>()
.insert_resource(Score(0))
.register_type::<Score>()
.insert_resource(AsteroidSpawner::new())
.init_resource::<GameAssets>()
.add_systems(Startup, spawn_camera)