Add Ref to the prelude (#7392)
# Objective Add the change-detection wrapper type `Ref<T>` (originally added in #7097) to `bevy_ecs::prelude`.
This commit is contained in:
parent
5d912a2f35
commit
299bd37752
@ -29,7 +29,7 @@ pub mod prelude {
|
||||
#[doc(hidden)]
|
||||
pub use crate::{
|
||||
bundle::Bundle,
|
||||
change_detection::{DetectChanges, DetectChangesMut},
|
||||
change_detection::{DetectChanges, DetectChangesMut, Mut, Ref},
|
||||
component::Component,
|
||||
entity::Entity,
|
||||
event::{EventReader, EventWriter, Events},
|
||||
@ -44,7 +44,7 @@ pub mod prelude {
|
||||
Commands, In, IntoPipeSystem, IntoSystem, Local, NonSend, NonSendMut, ParallelCommands,
|
||||
ParamSet, Query, RemovedComponents, Res, ResMut, Resource, System, SystemParamFunction,
|
||||
},
|
||||
world::{FromWorld, Mut, World},
|
||||
world::{FromWorld, World},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user