Browse Source

修复表情Bug

liuqilin 7 years ago
parent
commit
172fa651ce
1 changed files with 5 additions and 5 deletions
  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)
             {