Skip to main content

script_runtime_reset

Function script_runtime_reset 

Source
pub fn script_runtime_reset(runtime: &mut ScriptRuntime)
Expand description

Clears every compiled script and scope, so a re-entry starts fresh and each script’s on_start runs again.