mirror of
https://github.com/maxartz15/TextureCombiner.git
synced 2025-06-14 23:36:14 +02:00
Init.
P4 -> GitHub sync.
This commit is contained in:
27
Assets/WebGLTemplates/FS_Adaptive/index.html
Normal file
27
Assets/WebGLTemplates/FS_Adaptive/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>%UNITY_WEB_NAME%</title>
|
||||
<script src="%UNITY_WEBGL_LOADER_URL%"></script>
|
||||
<script>
|
||||
var gameInstance = UnityLoader.instantiate("gameContainer", "%UNITY_WEBGL_BUILD_URL%");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="gameContainer" style="width: 100vw; height: 100vh; margin: auto"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user