Skip to content

Commit de54e23

Browse files
Refactor Unity component to include additional Unity asset properties for improved configuration
1 parent 8092119 commit de54e23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

module/source/components/unity.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ const Unity: ForwardRefExoticComponent<
103103
dataUrl: props.unityProvider.dataUrl,
104104
frameworkUrl: props.unityProvider.frameworkUrl,
105105
codeUrl: props.unityProvider.codeUrl,
106+
workerUrl: props.unityProvider.workerUrl,
107+
memoryUrl: props.unityProvider.memoryUrl,
108+
symbolsUrl: props.unityProvider.symbolsUrl,
109+
streamingAssetsUrl: props.unityProvider.streamingAssetsUrl,
106110
devicePixelRatio: props.devicePixelRatio,
107111
};
108112

0 commit comments

Comments
 (0)