Spaces:
Running
Running
Add Unity WebGL build files
Browse files- Build/Retro-to-3D.data +2 -2
- Build/Retro-to-3D.wasm +2 -2
- index.html +13 -13
Build/Retro-to-3D.data
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b90097244d936f35613fa1fdd3dafdc61461e48c5057d03a988e786c2ce251f4
|
3 |
+
size 83131643
|
Build/Retro-to-3D.wasm
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1aa149a036168fd7e168a3491d3a2b1823f404988aea197486f186ee9721bff
|
3 |
+
size 36996208
|
index.html
CHANGED
@@ -90,20 +90,20 @@
|
|
90 |
};
|
91 |
document.body.appendChild(script);
|
92 |
</script>
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
}
|
104 |
-
);
|
105 |
}
|
106 |
-
|
|
|
|
|
107 |
</body>
|
108 |
|
109 |
</html>
|
|
|
90 |
};
|
91 |
document.body.appendChild(script);
|
92 |
</script>
|
93 |
+
<script type="text/javascript">
|
94 |
+
function readFromClipboard() {
|
95 |
+
navigator.clipboard.readText().then(
|
96 |
+
function (text) {
|
97 |
+
if (typeof UnityInstance !== 'undefined') {
|
98 |
+
UnityInstance.SendMessage('ClipboardManager', 'OnTextPasted', text);
|
99 |
+
}
|
100 |
+
},
|
101 |
+
function (err) {
|
102 |
+
console.error('Error al leer del portapapeles: ', err);
|
|
|
|
|
103 |
}
|
104 |
+
);
|
105 |
+
}
|
106 |
+
</script>
|
107 |
</body>
|
108 |
|
109 |
</html>
|