WebGL Build

This commit is contained in:
max
2021-01-24 17:29:54 +01:00
commit 9fb4dfda83
7 changed files with 49 additions and 0 deletions

27
index.html Normal file
View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
* {
margin: 0;
padding: 0;
}
canvas {
width: 100%;
height: 100%;
position: absolute;
}
</style>
<title>TextureCombiner</title>
<script src="Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/TextureCombiner_WebGL.json");
</script>
</head>
<body>
<div id="gameContainer" style="width: 100vw; height: 100vh; margin: auto"></div>
</body>
</html>