Update RunnerCanvas to set navigation mode and load scene
This commit is contained in:
@@ -142,8 +142,10 @@ export function RunnerCanvas({
|
|||||||
onInteractionPromptChange(null);
|
onInteractionPromptChange(null);
|
||||||
onFirstPersonTelemetryChange(null);
|
onFirstPersonTelemetryChange(null);
|
||||||
onRuntimeMessageChange(null);
|
onRuntimeMessageChange(null);
|
||||||
|
hostRef.current?.setNavigationMode(navigationMode);
|
||||||
hostRef.current?.loadScene(runtimeScene);
|
hostRef.current?.loadScene(runtimeScene);
|
||||||
}, [
|
}, [
|
||||||
|
navigationMode,
|
||||||
onFirstPersonTelemetryChange,
|
onFirstPersonTelemetryChange,
|
||||||
onInteractionPromptChange,
|
onInteractionPromptChange,
|
||||||
onRuntimeMessageChange,
|
onRuntimeMessageChange,
|
||||||
|
|||||||
Reference in New Issue
Block a user