-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.html
More file actions
42 lines (41 loc) · 1.18 KB
/
demo.html
File metadata and controls
42 lines (41 loc) · 1.18 KB
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Spellbound Public Alpha</title>
<link rel="shortcut icon" href="resources/icon.png">
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/708.json", {onProgress: UnityProgress});
</script>
<style>
body,head{
height: 100%;
width: 100%;
position: absolute;
top: 0px;
left: 0px;
overflow: hidden;
padding: 0px;
margin: 0px;
}
.webgl-content,#gameContainer{
height: 100%;
width: 100%;
position: absolute;
padding: 0px;
margin: 0px;
}
</style>
</head>
<body>
<div style="width: 100%; height: 100%;position:absolute;">
<div class="webgl-content">
<div id="gameContainer"></div>
</div>
</div>
</body>
</html>