2023-02-27 18:36:55 -05:00
|
|
|
<!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 | Bad Piggies</title>
|
|
|
|
<link rel="shortcut icon" href="TemplateData/favicon.ico">
|
|
|
|
<link rel="stylesheet" href="TemplateData/style.css">
|
|
|
|
<script src="TemplateData/UnityProgress.js"></script>
|
|
|
|
<script src="Build/UnityLoader.js"></script>
|
|
|
|
<script>
|
2023-03-03 10:25:48 -05:00
|
|
|
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/Bad Piggies.json", {onProgress: UnityProgress});
|
2023-02-27 18:36:55 -05:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="webgl-content">
|
|
|
|
<div id="gameContainer" style="width: 960px; height: 600px"></div>
|
|
|
|
<div class="footer">
|
|
|
|
<div class="webgl-logo"></div>
|
|
|
|
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
|
|
|
|
<div class="title">Bad Piggies</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|