Function valence::client::despawn_disconnected_clients

source ยท
pub fn despawn_disconnected_clients(
    commands: Commands<'_, '_>,
    disconnected_clients: RemovedComponents<'_, '_, Client>,
)
Expand description

A system for adding Despawned components to disconnected clients. This works by listening for removed Client components.