unity error

This commit is contained in:
2026-08-12 13:45:19 +05:30
parent c2f4c2f808
commit 9970488938
27 changed files with 4150 additions and 114 deletions
+8
View File
@@ -75,6 +75,14 @@ public class Logger
}
}
/// <summary>Writable Logs folder next to match log files (creates if missing).</summary>
public static string GetLogsDirectory()
{
string dir = Path.Combine(ApplicationDirectory, "Logs");
EnsureDirectoryExists(dir);
return dir;
}
public static void SetFilePath(string path){
instance.LogFilePath= path;
}