Skip to main content

script_runtime_forget_entity

Function script_runtime_forget_entity 

Source
pub fn script_runtime_forget_entity(runtime: &mut ScriptRuntime, entity: Entity)
Expand description

Drops a despawned entity’s scope so the runtime does not leak.