more asset loader usage

This commit is contained in:
2025-03-26 08:32:40 +01:00
parent 7dd9999860
commit 91e5435c64
4 changed files with 34 additions and 15 deletions

View File

@@ -42,6 +42,18 @@ pub struct UIAssets {
pub struct GameAssets {
#[asset(path = "textures/fx/impact.png")]
pub impact_atlas: Handle<Image>,
#[asset(path = "models/key.glb#Scene0")]
pub mesh_key: Handle<Scene>,
#[asset(path = "models/spawn.glb#Scene0")]
pub mesh_spawn: Handle<Scene>,
#[asset(path = "models/alien_naked.glb#Scene0")]
pub mesh_alien: Handle<Scene>,
#[asset(path = "models/cash.glb#Scene0")]
pub mesh_cash: Handle<Scene>,
}
pub struct LoadingPlugin;