diff --git a/Assets/ManagedResources/~Lua/Modules/Common/SpriteLoader.lua b/Assets/ManagedResources/~Lua/Modules/Common/SpriteLoader.lua index 47b76dfae6..44a6f7d97e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Common/SpriteLoader.lua +++ b/Assets/ManagedResources/~Lua/Modules/Common/SpriteLoader.lua @@ -42,9 +42,9 @@ function SpriteLoader:UnLoadSprite() LogError("SpriteLoader Repeat UnLoad : ".. self.id..", count : "..SpriteLoaderPool[self.id]) end for name, count in pairs(self.SpriteList) do - if name == "shadow_4" then - LogWarn("lua 回收资源:name:"..name..", count:"..count) - end + -- if name == "shadow_4" then + -- LogWarn("lua 回收资源:name:"..name..", count:"..count) + -- end resMgr:UnLoadAsset(name, count) end self.SpriteList = {} diff --git a/Assets/Scripts/Core/ResMgr/AssetBundleMgr/AssetBundleManager.cs b/Assets/Scripts/Core/ResMgr/AssetBundleMgr/AssetBundleManager.cs index 42f9b86996..9f065c1b8b 100644 --- a/Assets/Scripts/Core/ResMgr/AssetBundleMgr/AssetBundleManager.cs +++ b/Assets/Scripts/Core/ResMgr/AssetBundleMgr/AssetBundleManager.cs @@ -161,10 +161,10 @@ namespace ResMgr } private void Log(string path, string con) { - if (path.Contains("shadow_4")) - { - Debug.LogWarning(con); - } + //if (path.Contains("shadow_4")) + //{ + // Debug.LogWarning(con); + //} } /// /// 同步加载AB文件 diff --git a/Assets/Scripts/Core/ResMgr/ResourcesMgr/ResLoader/RuntimeResLoader.cs b/Assets/Scripts/Core/ResMgr/ResourcesMgr/ResLoader/RuntimeResLoader.cs index 313d024cb6..97f8e327ae 100644 --- a/Assets/Scripts/Core/ResMgr/ResourcesMgr/ResLoader/RuntimeResLoader.cs +++ b/Assets/Scripts/Core/ResMgr/ResourcesMgr/ResLoader/RuntimeResLoader.cs @@ -86,10 +86,10 @@ namespace ResMgr } else { - if(this.Name == "shadow_4") - { - Debug.LogWarning("resData Loader is not Free, not unLoad: " + this.Name); - } + //if(this.Name == "shadow_4") + //{ + // Debug.LogWarning("resData Loader is not Free, not unLoad: " + this.Name); + //} } } Asset = null; @@ -183,10 +183,10 @@ namespace ResMgr private void Log(string name, string con) { - if (name.Equals("shadow_4")) - { - Debug.LogWarning(con); - } + //if (name.Equals("shadow_4")) + //{ + // Debug.LogWarning(con); + //} } /// /// 加载资源