You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/bevy_ecs/src/component/mod.rs
+11
Original file line number
Diff line number
Diff line change
@@ -340,6 +340,17 @@ impl ComponentTicks {
340
340
check_tick(&mutself.changed, change_tick);
341
341
}
342
342
343
+
/// Manually sets the change tick.
344
+
/// Usually, this is done automatically via the [`Deref`](std::ops::Deref) implementation on [`Mut`](crate::world::Mut) or [`ResMut`](crate::system::ResMut) etc.
345
+
///
346
+
/// # Example
347
+
/// ```rust,no_run
348
+
/// # use bevy_ecs::{world::World, component::ComponentTicks};
349
+
/// let world: World = todo!();
350
+
/// let component_ticks: ComponentTicks = todo!();
0 commit comments