Void_F 8 сар өмнө
parent
commit
21f30c2cc5

+ 1 - 1
Assets/Plugins/museum.jslib

@@ -3,4 +3,4 @@ mergeInto(LibraryManager.library,
         OpenNewWebsite: function (str) {
             window.open(Pointer_stringify(str));
         },
-    });
+    });

+ 1 - 4
Assets/Scripts/TextureLoadHelp.cs

@@ -280,11 +280,8 @@ public class TextureLoadHelp : MonoBehaviour
 
     IEnumerator DownLoadTex_Raw(string path, long loadId)
     {
-#if UNITY_EDITOR
         WWW www = new WWW(path);
-#else
-            WWW www = WWW.LoadFromCacheOrDownload($"{Application.streamingAssetsPath}/{ab_Name}",0);
-#endif
+
         yield return www;
         if (www.isDone)
         {

+ 1 - 1
Assets/Scripts/UI/UIView/3D/GCZLLayer.cs

@@ -495,7 +495,7 @@ public class GCZLLayer : MonoBehaviour
         }
         if (currentData.name_pri.Equals("TaoKou"))
         {
-            for (int i = 0; i < BY_PdfDownloadUrl.Length; i++)
+            for (int i = 0; i < TK_PdfDownloadUrl.Length; i++)
             {
                 OpenNewWebsite(TK_PdfDownloadUrl[i]);     
             }