Skip to content

Commit 3213008

Browse files
committed
Change build resolution
1 parent b4fc4e2 commit 3213008

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ProjectSettings/ProjectSettings.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ PlayerSettings:
4444
m_HolographicTrackingLossScreen: {fileID: 0}
4545
defaultScreenWidth: 1920
4646
defaultScreenHeight: 1080
47-
defaultScreenWidthWeb: 1080
48-
defaultScreenHeightWeb: 1920
47+
defaultScreenWidthWeb: 540
48+
defaultScreenHeightWeb: 960
4949
m_StereoRenderingPath: 0
5050
m_ActiveColorSpace: 1
5151
unsupportedMSAAFallback: 0

docs/Build/docs.data

2 Bytes
Binary file not shown.

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010
<body>
1111
<div id="unity-container" class="unity-desktop">
12-
<canvas id="unity-canvas" width=1080 height=1920 tabindex="-1"></canvas>
12+
<canvas id="unity-canvas" width=540 height=960 tabindex="-1"></canvas>
1313
<div id="unity-loading-bar">
1414
<div id="unity-logo"></div>
1515
<div id="unity-progress-bar-empty">
@@ -94,8 +94,8 @@
9494
} else {
9595
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen:
9696

97-
canvas.style.width = "1080px";
98-
canvas.style.height = "1920px";
97+
canvas.style.width = "540px";
98+
canvas.style.height = "960px";
9999
}
100100

101101
loadingBar.style.display = "block";

0 commit comments

Comments
 (0)