Cleanup
This commit is contained in:
@@ -10,3 +10,14 @@ typetag = "0.2.20"
|
||||
|
||||
[dev-dependencies]
|
||||
ron = "0.10.1"
|
||||
|
||||
|
||||
[lints.clippy]
|
||||
# Bevy supplies arguments to systems via dependency injection, so it's natural for systems to
|
||||
# request more than 7 arguments, which would undesirably trigger this lint.
|
||||
too_many_arguments = "allow"
|
||||
# Queries may access many components, which would undesirably trigger this lint.
|
||||
type_complexity = "allow"
|
||||
# Make sure macros use their standard braces, such as `[]` for `bevy_ecs::children!`.
|
||||
nonstandard_macro_braces = "warn"
|
||||
needless_return = "allow"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use bevy::app::Plugin;
|
||||
use bevy::prelude::*;
|
||||
|
||||
pub mod components;
|
||||
pub mod prefab;
|
||||
@@ -9,6 +9,8 @@ pub struct PrefabPlugin;
|
||||
|
||||
impl Plugin for PrefabPlugin {
|
||||
fn build(&self, app: &mut bevy::app::App) {
|
||||
todo!()
|
||||
app.add_systems(Last, prefab_watcher);
|
||||
}
|
||||
}
|
||||
|
||||
fn prefab_watcher() {}
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
use bevy::{
|
||||
ecs::{
|
||||
component::Component,
|
||||
system::EntityCommands,
|
||||
world::{CommandQueue, World},
|
||||
},
|
||||
ecs::{component::Component, system::EntityCommands, world::World},
|
||||
math::Vec3,
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
Reference in New Issue
Block a user