소스 검색

Release 1.29

ishunsei 1 년 전
부모
커밋
a8332b98ed

BIN
Build/ChangZhouHospital_1.28.data.unityweb


BIN
Build/ChangZhouHospital_1.28.framework.js.unityweb


BIN
Build/ChangZhouHospital_1.29.data.unityweb


BIN
Build/ChangZhouHospital_1.29.framework.js.unityweb


Build/ChangZhouHospital_1.28.loader.js → Build/ChangZhouHospital_1.29.loader.js


BIN
Build/ChangZhouHospital_1.28.wasm.unityweb


+ 4 - 4
ServiceWorker.js

@@ -1,9 +1,9 @@
 const cacheName = "DefaultCompany-ChangZhouHospital-0.1";
 const contentToCache = [
-    "Build/ChangZhouHospital_1.28.loader.js",
-    "Build/ChangZhouHospital_1.28.framework.js.unityweb",
-    "Build/ChangZhouHospital_1.28.data.unityweb",
-    "Build/ChangZhouHospital_1.28.wasm.unityweb",
+    "Build/ChangZhouHospital_1.29.loader.js",
+    "Build/ChangZhouHospital_1.29.framework.js.unityweb",
+    "Build/ChangZhouHospital_1.29.data.unityweb",
+    "Build/ChangZhouHospital_1.29.wasm.unityweb",
     "TemplateData/style.css"
 
 ];

BIN
StreamingAssets/share.png


+ 5 - 5
index.html

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <title>常中e观园</title>
+    <title>常中医大观园</title>
     <link rel="shortcut icon" href="TemplateData/favicon.ico">
     <link rel="stylesheet" href="TemplateData/style.css">
     <link rel="manifest" href="manifest.webmanifest">
@@ -73,11 +73,11 @@
       }
 
       var buildUrl = "Build";
-      var loaderUrl = buildUrl + "/ChangZhouHospital_1.28.loader.js";
+      var loaderUrl = buildUrl + "/ChangZhouHospital_1.29.loader.js";
       var config = {
-        dataUrl: buildUrl + "/ChangZhouHospital_1.28.data.unityweb",
-        frameworkUrl: buildUrl + "/ChangZhouHospital_1.28.framework.js.unityweb",
-        codeUrl: buildUrl + "/ChangZhouHospital_1.28.wasm.unityweb",
+        dataUrl: buildUrl + "/ChangZhouHospital_1.29.data.unityweb",
+        frameworkUrl: buildUrl + "/ChangZhouHospital_1.29.framework.js.unityweb",
+        codeUrl: buildUrl + "/ChangZhouHospital_1.29.wasm.unityweb",
         streamingAssetsUrl: "StreamingAssets",
         companyName: "DefaultCompany",
         productName: "ChangZhouHospital",

+ 7 - 0
myCode/index.js

@@ -25,4 +25,11 @@ videoDom.addEventListener('ended', function () {
 
 videoBtnDom.onclick = () => {
   videoPalyEnd()
+}
+
+window.onClickShare = () => {
+	var a = document.createElement('a')
+    a.download = 'image'
+    a.href = '/StreamingAssets/share.png'
+    a.click()
 }