Files
2023-09-25 19:51:08 -04:00

44 lines
1.6 KiB
HTML

<html>
<head>
<!-- Google tag (gtag.js) -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-7L02W3ZMS5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7L02W3ZMS5');
</script>
<script async="" crossorigin="anonymous" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5648726754785335"></script>
<meta charset="utf-8"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Tunnel Rush</title>
<link href="style/favicon.ico" rel="shortcut icon"/>
<link href="style/style.css" rel="stylesheet"/>
<script src="UnityLoader.js"></script>
<script src="UnityProgress.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "build.json", {onProgress: UnityProgress,Module:{onRuntimeInitialized: function() {UnityProgress(gameInstance, "complete")}}});
</script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 100%; height: 95%; margin: auto;"></div>
<div class="footer">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
<div class="title">Tunnel Rush</div>
</div>
</div>
<script>
if (typeof getAdinDomain !== 'undefined') {
const bodyTag = document.getElementsByTagName('body')[0];
let addAdinPreroll = document.createElement('script');
addAdinPreroll.src = getAdinDomain;
bodyTag.appendChild(addAdinPreroll);
}
</script>
</body>
</html>