private void Capture(ScriptRuntime runtime) { if (!runtime.isValid) { return; } var snapshot = GetSnapshot(runtime.id); snapshot.alive = true; runtime.EnqueueAction(OnSnapshotRequest, snapshot); }