Update RunnerCanvas to set navigation mode and load scene

This commit is contained in:
2026-04-11 11:18:07 +02:00
parent 337a2c08b8
commit 7470b4472a

View File

@@ -142,8 +142,10 @@ export function RunnerCanvas({
onInteractionPromptChange(null);
onFirstPersonTelemetryChange(null);
onRuntimeMessageChange(null);
hostRef.current?.setNavigationMode(navigationMode);
hostRef.current?.loadScene(runtimeScene);
}, [
navigationMode,
onFirstPersonTelemetryChange,
onInteractionPromptChange,
onRuntimeMessageChange,