update to bevy 0.18

This commit is contained in:
2026-02-26 15:57:42 -05:00
parent 94b85c9cf7
commit e8735b83b3
35 changed files with 3143 additions and 3277 deletions

View File

@@ -20,13 +20,7 @@ impl UnitAsset {
pub fn spawn(&self, transform: Transform) -> CommandQueue {
let mut commands = CommandQueue::default();
let bundle = (
PbrBundle {
transform: transform,
..default()
},
Unit,
);
let bundle = (transform, Unit);
let domain = self.domain.clone();
commands.push(move |world: &mut World| {
let mut e = world.spawn(bundle);