mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-21 07:55:55 +00:00
commiting changes for now
This commit is contained in:
+16
-1
@@ -81,7 +81,22 @@ pub fn init(viewport_size: ViewportSize) {
|
||||
SkyboxPlugin,
|
||||
UiLayerPlugin,
|
||||
WorldGridPlugin,
|
||||
));
|
||||
BvhPlugin,
|
||||
))
|
||||
.add_systems(
|
||||
Startup,
|
||||
(move |mut cmd: Commands, mut ew: EventWriter<LoadSceneEvent>| {
|
||||
cmd.insert_resource(SkyboxId("gum_trees_4k".to_string()));
|
||||
ew.send(LoadSceneEvent("base-human-female".to_string()));
|
||||
})
|
||||
)
|
||||
// .add_systems(
|
||||
// Update,
|
||||
// bevy::window::close_on_esc
|
||||
// )
|
||||
;
|
||||
|
||||
|
||||
|
||||
#[cfg(feature = "wasm")]
|
||||
wasm::initialize();
|
||||
|
||||
Reference in New Issue
Block a user