Skip to content

Commit 8618b96

Browse files
committed
set template to unity-webview-2020, adjusted width and height, enabled run-in-background, disabled compression.
1 parent 301f4ee commit 8618b96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sample/ProjectSettings/ProjectSettings.asset

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ PlayerSettings:
4444
m_HolographicTrackingLossScreen: {fileID: 0}
4545
defaultScreenWidth: 1024
4646
defaultScreenHeight: 768
47-
defaultScreenWidthWeb: 480
48-
defaultScreenHeightWeb: 320
47+
defaultScreenWidthWeb: 1440
48+
defaultScreenHeightWeb: 1020
4949
m_StereoRenderingPath: 0
5050
m_ActiveColorSpace: 0
5151
unsupportedMSAAFallback: 0
@@ -80,7 +80,7 @@ PlayerSettings:
8080
androidPredictiveBackSupport: 1
8181
defaultIsNativeResolution: 1
8282
macRetinaSupport: 1
83-
runInBackground: 0
83+
runInBackground: 1
8484
captureSingleScreen: 0
8585
muteOtherAudioSources: 0
8686
Prepare IOS For Recording: 0
@@ -828,10 +828,10 @@ PlayerSettings:
828828
webGLDebugSymbols: 0
829829
webGLEmscriptenArgs:
830830
webGLModulesDirectory:
831-
webGLTemplate: APPLICATION:Default
831+
webGLTemplate: PROJECT:unity-webview-2020
832832
webGLAnalyzeBuildSize: 0
833833
webGLUseEmbeddedResources: 0
834-
webGLCompressionFormat: 1
834+
webGLCompressionFormat: 2
835835
webGLWasmArithmeticExceptions: 0
836836
webGLLinkerTarget: 1
837837
webGLThreadsSupport: 0

0 commit comments

Comments
 (0)