mirror of
https://github.com/bevyengine/bevy
synced 2025-01-24 19:05:17 +00:00
0f7c548a4a
# Objective Fixes #14202 ## Solution Add `on_replaced` component hook and `OnReplaced` observer trigger ## Testing - Did you test these changes? If so, how? - Updated & added unit tests --- ## Changelog - Added new `on_replaced` component hook and `OnReplaced` observer trigger for performing cleanup on component values when they are overwritten with `.insert()` |
||
---|---|---|
.. | ||
component.rs | ||
lib.rs | ||
query_data.rs | ||
query_filter.rs | ||
states.rs | ||
world_query.rs |