Przeglądaj źródła

fix - 修复unity闪退bug

ishunsei 1 rok temu
rodzic
commit
f472350a23

BIN
Build/ChangZhouHospital_2.1.data.unityweb


BIN
Build/ChangZhouHospital_2.1.framework.js.unityweb


BIN
Build/ChangZhouHospital_2.3.data.unityweb


BIN
Build/ChangZhouHospital_2.3.framework.js.unityweb


Build/ChangZhouHospital_2.1.loader.js → Build/ChangZhouHospital_2.3.loader.js


BIN
Build/ChangZhouHospital_2.1.wasm.unityweb


+ 5 - 5
ServiceWorker.js

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

+ 4 - 4
model.html

@@ -76,11 +76,11 @@
     }
 
     var buildUrl = "Build";
-    var loaderUrl = buildUrl + "/ChangZhouHospital_2.1.loader.js";
+    var loaderUrl = buildUrl + "/ChangZhouHospital_2.3.loader.js";
     var config = {
-      dataUrl: buildUrl + "/ChangZhouHospital_2.1.data.unityweb",
-      frameworkUrl: buildUrl + "/ChangZhouHospital_2.1.framework.js.unityweb",
-      codeUrl: buildUrl + "/ChangZhouHospital_2.1.wasm.unityweb",
+      dataUrl: buildUrl + "/ChangZhouHospital_2.3.data.unityweb",
+      frameworkUrl: buildUrl + "/ChangZhouHospital_2.3.framework.js.unityweb",
+      codeUrl: buildUrl + "/ChangZhouHospital_2.3.wasm.unityweb",
       streamingAssetsUrl: "StreamingAssets",
       companyName: "DefaultCompany",
       productName: "ChangZhouHospital",