mirror of
https://github.com/maxartz15/TextureCombiner.git
synced 2024-12-22 10:08:31 +01:00
WebGL Build
This commit is contained in:
commit
9fb4dfda83
BIN
Build/TextureCombiner_WebGL.data.unityweb
Normal file
BIN
Build/TextureCombiner_WebGL.data.unityweb
Normal file
Binary file not shown.
16
Build/TextureCombiner_WebGL.json
Normal file
16
Build/TextureCombiner_WebGL.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"companyName": "MaxKruf",
|
||||
"productName": "TextureCombiner",
|
||||
"productVersion": "0.1",
|
||||
"dataUrl": "TextureCombiner_WebGL.data.unityweb",
|
||||
"wasmCodeUrl": "TextureCombiner_WebGL.wasm.code.unityweb",
|
||||
"wasmFrameworkUrl": "TextureCombiner_WebGL.wasm.framework.unityweb",
|
||||
"graphicsAPI": ["WebGL 2.0","WebGL 1.0"],
|
||||
"webglContextAttributes": {"preserveDrawingBuffer": false},
|
||||
"splashScreenStyle": "Dark",
|
||||
"backgroundColor": "#000000",
|
||||
"cacheControl": {"default": "must-revalidate"},
|
||||
"developmentBuild": false,
|
||||
"multithreading": false,
|
||||
"unityVersion": "2019.4.10f1"
|
||||
}
|
BIN
Build/TextureCombiner_WebGL.wasm.code.unityweb
Normal file
BIN
Build/TextureCombiner_WebGL.wasm.code.unityweb
Normal file
Binary file not shown.
BIN
Build/TextureCombiner_WebGL.wasm.framework.unityweb
Normal file
BIN
Build/TextureCombiner_WebGL.wasm.framework.unityweb
Normal file
Binary file not shown.
4
Build/UnityLoader.js
Normal file
4
Build/UnityLoader.js
Normal file
File diff suppressed because one or more lines are too long
2
TemplateData/style.css
Normal file
2
TemplateData/style.css
Normal file
@ -0,0 +1,2 @@
|
||||
.webgl-content * {border: 0; margin: 0; padding: 0}
|
||||
.webgl-content {position: relative; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
|
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>
|
Loading…
Reference in New Issue
Block a user