Function dead_component_listener

Source
pub fn dead_component_listener(
    query: Query<'_, '_, &LocalPlayerEvents, Added<Dead>>,
)
Expand description

Send the “Death” event for LocalEntitys that died with no reason.