diff --git a/Assets/LuaFramework/Scripts/Network/SocketClient.cs b/Assets/LuaFramework/Scripts/Network/SocketClient.cs index 39994f05ea..5c18128984 100644 --- a/Assets/LuaFramework/Scripts/Network/SocketClient.cs +++ b/Assets/LuaFramework/Scripts/Network/SocketClient.cs @@ -264,7 +264,7 @@ public class SocketClient AddStateInfo(NetworkStateType.Disconnect, "bytesRead < 1"); return; } - Debug.Log("[SocketClient] NowClient:@" + ++_NNN+" _:"+bytesRead + ":" + client.Client.Handle); + //Debug.Log("[SocketClient] NowClient:@" + ++_NNN+" _:"+bytesRead + ":" + client.Client.Handle); OnReceive(byteBuffer, bytesRead); //分析数据包内容,抛给逻辑层 lock (client.GetStream()) @@ -278,7 +278,7 @@ public class SocketClient } catch (Exception ex) { - Debug.LogError("SocketClient.OnRead " + ex.ToString()); + //Debug.LogError("SocketClient.OnRead " + ex.ToString()); //Lnhbuc_PrintBytes(); AddStateInfo(NetworkStateType.Exception, ex.Message); } @@ -403,7 +403,7 @@ public class SocketClient buffer.ReadIntToByte(); //协议号 int msgid = buffer.ReadIntToByte(); - Debug.Log("[SocketClient:OnReceivedMessage]msgid:" + msgid); + //Debug.Log("[SocketClient:OnReceivedMessage]msgid:" + msgid); //收到心跳包 if (msgid == 1001) { @@ -870,7 +870,7 @@ public class SocketClient buffer.Close(); - Debug.Log("[SocketClient.m_SendMessage]..."+ msgId); + //Debug.Log("[SocketClient.m_SendMessage]..."+ msgId); } /// diff --git a/Assets/Scripts/Bridge/ResourcesManager.cs b/Assets/Scripts/Bridge/ResourcesManager.cs index 3e753b02d7..d4f2516982 100644 --- a/Assets/Scripts/Bridge/ResourcesManager.cs +++ b/Assets/Scripts/Bridge/ResourcesManager.cs @@ -105,10 +105,10 @@ namespace GameLogic { public void PreLoadAssetAsync(string assetName, LuaFunction luaFunc) { - Debug.Log("预加载资源:" + assetName); + //Debug.Log("预加载资源:" + assetName); if (File.Exists(AppConst.PersistentDataPath + assetName) && PlayerPrefs.GetInt(assetName + "_IsPreLoad", 0) == 1) { - Debug.Log("预加载资源已存在"); + //Debug.Log("预加载资源已存在"); if (luaFunc != null) { luaFunc.Call(true); @@ -116,12 +116,12 @@ namespace GameLogic { }else { string downLoadURL = VersionManager.Instance.GetVersionInfo("resUrl") + AppConst.PlatformPath + "/"; - Debug.Log("预加载资源路径:"+downLoadURL); + //Debug.Log("预加载资源路径:"+downLoadURL); ResourceDownloadManager.Instance.StartDownload(assetName, downLoadURL, "", (string name, DownLoadProgress dp) => { - Debug.LogFormat("预加载资源进度:{0}/{1}", dp.Size, dp.TotalSize); + //Debug.LogFormat("预加载资源进度:{0}/{1}", dp.Size, dp.TotalSize); }, (string name, bool isOk) => { - Debug.Log("预加载资源完成:" + isOk); + //Debug.Log("预加载资源完成:" + isOk); PlayerPrefs.SetInt(assetName + "_IsPreLoad", 1); if (luaFunc != null) {