Files
storyteller-bevy/studio/src/main.rs
T
Brooks Palin 4b19c76272 Add Generic Mannequin (#27)
Just adding the mannequin from Scott into the main branch so that it can
be used.

- added the mannequin.gltf
- also now requiring the file extention when selecting file to load.
This is to add flexability with file selection. Let me know if this is a
bad idea.
2024-01-18 15:41:56 -07:00

20 lines
536 B
Rust

use bevy::{app::Update, window::close_on_esc};
use studio::{StudioMode, ViewportSize};
fn main() {
// Edit the arguments here to change the default startup scene or skybox
let mut app = studio::start_internal(
"Mannequin.gltf",
"gum_trees_4k",
"", // ignored for non-WASM
"Storyteller Studio",
ViewportSize::default(),
StudioMode::Editor,
);
// Add any additional systems, resources, etc. for local debugging
app.add_systems(Update, close_on_esc);
app.run();
}