mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-22 08:06:01 +00:00
factor redone
This commit is contained in:
@@ -107,6 +107,9 @@ fn main() {
|
||||
"zoom" => {
|
||||
app.insert_resource(CameraMotion::Zoom);
|
||||
}
|
||||
"static" => {
|
||||
app.insert_resource(CameraMotion::Static);
|
||||
}
|
||||
_ => panic!("Unsupported camera motion type."),
|
||||
}
|
||||
|
||||
|
||||
+2
-3
@@ -1,11 +1,10 @@
|
||||
use bevy::{
|
||||
app::Update,
|
||||
prelude::*,
|
||||
transform::components::Transform,
|
||||
|
||||
window::{close_on_esc, Window},
|
||||
};
|
||||
use clap::Parser;
|
||||
use studio::{scene::SceneState, screenshot::ScreenShotPlugin, InitAsset, InitParams, StudioMode};
|
||||
use studio::{InitAsset, InitParams, StudioMode};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(name = "StorytellerStudio")]
|
||||
|
||||
Reference in New Issue
Block a user