(client) feat:实现热重载,实现多维度,实现武器,实现掉落物,实现状态UI,实现攻击AI (#44)
Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
This commit is contained in:
@ -9,10 +9,13 @@ namespace Logging
|
||||
private static readonly SerilogLogger Logger = new LoggerConfiguration()
|
||||
.WriteTo.File("Logs/UnityLog.txt")
|
||||
.CreateLogger();
|
||||
|
||||
private static bool _initialized = false;
|
||||
public static void Init()
|
||||
{
|
||||
if(_initialized)
|
||||
return;
|
||||
Application.logMessageReceived += OnLogMessageReceived;
|
||||
_initialized = true;
|
||||
}
|
||||
|
||||
private static void OnLogMessageReceived(string logString, string stackTrace, LogType type)
|
||||
|
Reference in New Issue
Block a user