mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 11:33:06 +00:00
72b2fc9843
Bevy Reflection
14 lines
253 B
Rust
14 lines
253 B
Rust
use bevy_ecs::World;
|
|
use bevy_reflect::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 }
|
|
}
|
|
}
|