on_r_removed

Function on_r_removed 

Source
pub fn on_r_removed<C: Component + Clone + PartialEq, F: QueryFilter + 'static, R: Relationship>(
    event: On<'_, '_, Remove, R>,
    commands: Commands<'_, '_>,
    query: Query<'_, '_, (), (With<Inherited<C>>, Without<Propagate<C>>, F)>,
)
Expand description

Remove Inherited::<C> when an entity loses its R relationship