1 2 3 4 5 6 7 8 9 10 11 12 13 14
use bevy_ecs::World; use bevy_type_registry::TypeUuid; #[derive(Debug, TypeUuid)] #[uuid = "c156503c-edd9-4ec7-8d33-dab392df03cd"] pub struct Scene { pub world: World, } impl Scene { pub fn new(world: World) -> Self { Self { world } } }