on_r_removed

Function on_r_removed 

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

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