This commit is contained in:
2025-07-20 16:38:28 -04:00
parent 6afc35924c
commit 9db175f066
4 changed files with 18 additions and 8 deletions

View File

@@ -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"

View File

@@ -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() {}

View File

@@ -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};