Skip to main content

dispatch_file_drops_to_script

Function dispatch_file_drops_to_script 

Source
pub fn dispatch_file_drops_to_script<H: ScriptHost + Resource<Mutability = Mutable>>(
    host: ResMut<'_, H>,
    events: MessageReader<'_, '_, FileDropped>,
    ids: Query<'_, '_, &LumenId>,
    out: MessageWriter<'_, ScriptCommandEvent>,
)
Expand description

Forward FileDropped as on_file_dropped(id, path).