mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 00:23:14 +00:00
Expand gizmos module
This commit is contained in:
@@ -2,6 +2,8 @@ use bevy::prelude::*;
|
||||
use bitflags::bitflags;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
use self::gizmos::StudioGizmosPlugin;
|
||||
|
||||
mod gizmos;
|
||||
|
||||
pub struct InteractionPlugin;
|
||||
@@ -10,7 +12,7 @@ impl Plugin for InteractionPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
app.insert_resource(SelectionMode::default())
|
||||
.insert_resource(InteractionMode::default())
|
||||
.add_systems(Update, gizmos::draw);
|
||||
.add_plugins(StudioGizmosPlugin);
|
||||
|
||||
app.add_systems(
|
||||
PreUpdate,
|
||||
|
||||
Reference in New Issue
Block a user