三国卡牌客户端基础资源仓库
hch
2026-10-10 7509d1ad2c1df4cd30d6c86ce421f094e0ca8327
0312 启动的时候默认开unity的日志;进入场景关闭
1个文件已修改
26 ■■■■■ 已修改文件
Assets/Launch/Launch.cs 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Launch/Launch.cs
@@ -132,19 +132,19 @@
        m_Instance = this;
#if !UNITY_EDITOR && !UNITY_WEBGL
        if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
        LocalSave.GetString("#@#BrancH") != string.Empty)
        {
            Debug.unityLogger.logEnabled = true;
        }
        else
        {
            Debug.unityLogger.logEnabled = false;
        }
#else
        Debug.unityLogger.logEnabled = true;
#endif
// #if !UNITY_EDITOR && !UNITY_WEBGL
//         if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
//         LocalSave.GetString("#@#BrancH") != string.Empty)
//         {
//             Debug.unityLogger.logEnabled = true;
//         }
//         else
//         {
//             Debug.unityLogger.logEnabled = false;
//         }
// #else
//         Debug.unityLogger.logEnabled = true;
// #endif
#if UNITY_EDITOR
    Application.runInBackground = true;