diff --git a/crates/bevy_core/Cargo.toml b/crates/bevy_core/Cargo.toml index e502ce125a..7ec7585f04 100644 --- a/crates/bevy_core/Cargo.toml +++ b/crates/bevy_core/Cargo.toml @@ -6,6 +6,7 @@ edition = "2018" [dependencies] bevy_app = { path = "../bevy_app" } +bevy_component_registry = { path = "../bevy_component_registry" } bevy_transform = { path = "../bevy_transform" } legion = { path = "../bevy_legion" } glam = { path = "../bevy_glam" } diff --git a/crates/bevy_core/src/lib.rs b/crates/bevy_core/src/lib.rs index a5b1a8cef0..a04c6c6d7f 100644 --- a/crates/bevy_core/src/lib.rs +++ b/crates/bevy_core/src/lib.rs @@ -3,7 +3,8 @@ pub mod time; pub mod transform; use bevy_app::{stage, AppBuilder, AppPlugin}; -use bevy_transform::transform_system_bundle; +use bevy_component_registry::RegisterComponent; +use bevy_transform::{transform_system_bundle, components::{Children, LocalToParent, LocalToWorld, Translation, Rotation, Scale, NonUniformScale}}; use legion::prelude::IntoSystem; use time::{start_timer_system, stop_timer_system, Time}; @@ -17,6 +18,13 @@ impl AppPlugin for CorePlugin { } app.init_resource::