<title>Unity WebGL Player | SteamBurster</title>





<canvas id="unity-canvas"></canvas>
SteamBurster
<script> var buildUrl = "Build"; var loaderUrl = buildUrl + "/New folder (2).loader.js"; var config = { dataUrl: buildUrl + "/New folder (2).data.br", frameworkUrl: buildUrl + "/New folder (2).framework.js.br", codeUrl: buildUrl + "/New folder (2).wasm.br", streamingAssetsUrl: "StreamingAssets", companyName: "DefaultCompany", productName: "SteamBurster", productVersion: "1.0", }; var container = document.querySelector("#unity-container"); var canvas = document.querySelector("#unity-canvas"); var loadingBar = document.querySelector("#unity-loading-bar"); var progressBarFull = document.querySelector("#unity-progress-bar-full"); var fullscreenButton = document.querySelector("#unity-fullscreen-button"); if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) { container.className = "unity-mobile"; config.devicePixelRatio = 1; } else { canvas.style.width = "960px"; canvas.style.height = "600px"; } loadingBar.style.display = "block"; var script = document.createElement("script"); script.src = loaderUrl; script.onload = () => { createUnityInstance(canvas, config, (progress) => { progressBarFull.style.width = 100 * progress + "%"; }).then((unityInstance) => { loadingBar.style.display = "none"; fullscreenButton.onclick = () => { unityInstance.SetFullscreen(1); }; }).catch((message) => { alert(message); }); }; document.body.appendChild(script); </script>
StatusCanceled
PlatformsHTML5
AuthorSujeet_R_C
GenreShooter
Made withUnity

Leave a comment

Log in with itch.io to leave a comment.