Function lua_handler

Source
pub fn lua_handler(
    args: Vec<ScriptValue>,
    entity: Entity,
    script_id: &ScriptId,
    callback_label: &CallbackLabel,
    context: &mut Lua,
    pre_handling_initializers: &[ContextPreHandlingInitializer<LuaScriptingPlugin>],
    _: &(),
) -> Result<ScriptValue, ScriptError>
Expand description

The lua handler for events