pub fn dead_component_listener(
query: Query<'_, '_, &LocalPlayerEvents, Added<Dead>>,
)
Expand description
Send the “Death” event for LocalEntity
s that died with no reason.
pub fn dead_component_listener(
query: Query<'_, '_, &LocalPlayerEvents, Added<Dead>>,
)
Send the “Death” event for LocalEntity
s that died with no reason.