瀏覽代碼

修复表情Bug

liuqilin 7 年之前
父節點
當前提交
172fa651ce
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      Assets/Script/Tool/Bundle.cs

+ 5 - 5
Assets/Script/Tool/Bundle.cs

@@ -825,12 +825,12 @@ public class Bundle : MonoBehaviour
                 //Debug.Log(localMD5);
                 //Debug.Log(HttpManager.Md5);
                 needUpdate = localMD5 != HttpManager.Md5;
-                Debug.LogWarning($"NeedUpdate : {needUpdate}");
+                //Debug.LogWarning($"NeedUpdate : {needUpdate}");
+            }
+            if (Application.isEditor)
+            {
+                needUpdate = false;
             }
-            //if (Application.isEditor)
-            //{
-            //    needUpdate = false;
-            //}
             AssetBundleUtility.OnDownloadOrUpdateFinish += FinishDownloadAndLoad;
             if (needUpdate)
             {