ComponentTicks
ComponentTicks
- added : bevy_ecs::component::Tick
- changed : bevy_ecs::component::Tick
Description
Records when a component or resource was added and when it was last mutably dereferenced (or added).
Functions
Function | Summary |
---|---|
clone(_self) | No Documentation 🚧 |
is_added(_self, last_run, this_run) | Returns `true` if the component or resource was added after the system last ran (or the system is |
is_changed(_self, last_run, this_run) | Returns `true` if the component or resource was added or mutably dereferenced after the system last |
new(change_tick) | Creates a new instance with the same change tick for `added` and `changed`. |
set_changed(_self, change_tick) | Manually sets the change tick. This is normally done automatically via the [`DerefMut`](std::ops::DerefMut) implementation on [`Mut |