Skip to content

Commit 559c0ce

Browse files
committed
update argument
1 parent 468225b commit 559c0ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

module/source/hooks/use-unity-arguments.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ const useUnityArguments = (unityProps: UnityProps): UnityArguments => {
1616
dataUrl: unityProps.unityProvider.unityConfig.dataUrl,
1717
frameworkUrl: unityProps.unityProvider.unityConfig.frameworkUrl,
1818
codeUrl: unityProps.unityProvider.unityConfig.codeUrl,
19-
workerUrl: unityProps.unityProvider.unityConfig.workerUrl || undefined,
2019

21-
// Assigns the optional streaming assets URL, memory URL, and symbols URL
22-
// to the Unity arguments object.
20+
// Assigns the optional streaming assets URL, memory URL, symbols URL,
21+
// and worker URL to the Unity arguments object
2322
streamingAssetsUrl:
2423
unityProps.unityProvider.unityConfig.streamingAssetsUrl,
2524
memoryUrl: unityProps.unityProvider.unityConfig.memoryUrl,
2625
symbolsUrl: unityProps.unityProvider.unityConfig.symbolsUrl,
26+
workerUrl: unityProps.unityProvider.unityConfig.workerUrl,
2727

2828
// Assigns the optional company name, product name, and product version to
2929
// the Unity arguments object.

0 commit comments

Comments
 (0)