mirror of
https://github.com/maxartz15/TextureCombiner.git
synced 2025-06-27 04:46:04 +02:00
WebGL Build
This commit is contained in:
27
index.html
Normal file
27
index.html
Normal 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>
|
Reference in New Issue
Block a user