Skip to main content

sync_resource

Function sync_resource 

Source
pub fn sync_resource<T: SyncResource>(
    net: ResMut<'_, NetResource>,
    resource: Option<Res<'_, T>>,
)
Expand description

Sends updated resources when they are added or changed.