-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | Fanculo Tutti O Fanculo Toti</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes">
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: #231F20;
}
#unity-canvas {
width: 100%;
height: 100%;
background: #231F20;
display: block;
}
</style>
</head>
<body>
<canvas id="unity-canvas" tabindex="-1"></canvas>
<script src="Build/Build.loader.js"></script>
<script>
window.addEventListener('load', function() {
createUnityInstance(document.querySelector("#unity-canvas"), {
dataUrl: "Build/Build.data.unityweb",
frameworkUrl: "Build/Build.framework.js.unityweb",
codeUrl: "Build/Build.wasm.unityweb",
streamingAssetsUrl: "StreamingAssets",
companyName: "Genova Che Osa",
productName: "Fanculo Tutti O Fanculo Toti",
productVersion: "1.0",
// matchWebGLToCanvasSize: false, // Uncomment this to separately control WebGL canvas render size and DOM element size.
// devicePixelRatio: 1, // Uncomment this to override low DPI rendering on high DPI displays.
});
});
</script>
</body>
</html>