mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
material plugin for use in headless mode
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
use bevy::app::{App, Plugin};
|
||||
use space_editor::prelude::EditorRegistryExt;
|
||||
use crate::material::short_material::ShortMaterial;
|
||||
|
||||
|
||||
pub mod short_material;
|
||||
|
||||
pub struct MaterialPlugin;
|
||||
impl Plugin for MaterialPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
app.register_type::<ShortMaterial>()
|
||||
.editor_registry::<ShortMaterial>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user