mirror of
https://github.com/bevyengine/bevy
synced 2025-01-02 16:28:59 +00:00
f07bb3c449
# Objective EntityRef::get_change_ticks mentions that ComponentTicks is useful to create change detection for your own runtime. However, ComponentTicks doesn't even expose enough data to create something that implements DetectChanges. Specifically, we need to be able to extract the last change tick. ## Solution We add a method to get the last change tick. We also add a method to get the added tick. ## Changelog - Add `last_changed_tick` and `added_tick` to `ComponentTicks` |
||
---|---|---|
.. | ||
entity | ||
query | ||
schedule | ||
storage | ||
system | ||
world | ||
archetype.rs | ||
bundle.rs | ||
change_detection.rs | ||
component.rs | ||
event.rs | ||
lib.rs | ||
reflect.rs | ||
removal_detection.rs |