(client) fix:修复日志浏览界面初始化异常

This commit is contained in:
m0_75251201
2025-08-29 08:58:36 +08:00
parent e69d524bb6
commit 8dd244e90c
7 changed files with 33 additions and 20 deletions

View File

@ -0,0 +1,7 @@
namespace Data
{
public class AudioDef:Define
{
public string path;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ea58fdcb622943429532fd1b9d264340
timeCreated: 1756397633

View File

@ -35,10 +35,10 @@ namespace Logging
}
}
static LogCapturer()
public static void Init()
{
// 注册全局日志回调
Application.logMessageReceivedThreaded += HandleLog;
}
// 日志处理回调

View File

@ -9,6 +9,7 @@ namespace Logging
public void Init()
{
Logging.UnityLogger.Init();
LogCapturer.Init();
}
public void Clear()
{