Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
tw31122007 committed Nov 14, 2023
1 parent 6f4a3ee commit 18a46d4
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions tanuki-sunset/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script async src="https://arc.io/widget.min.js#VTeH6AEZ"></script>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | Tanuki Sunset</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
<style>
/* Use CSS to make the game container fill the viewport */
body, html {
height: 100%;
margin: 0;
overflow: hidden;
}
#gameContainer {
width: 100%;
height: 100%;
}
.webgl-content {
width: 100%;
height: 100%;
}
.fullscreen {
display: none; /* Hide fullscreen button if necessary */
}
</style>
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
Expand All @@ -14,7 +33,7 @@
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 960px; height: 600px"></div>
<div id="gameContainer"></div>
<div class="footer">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
Expand Down

0 comments on commit 18a46d4

Please sign in to comment.