备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
using UnityEngine;
namespace ThinkingData.Analytics.Utils
{
public class TDLog
{
private static bool enableLog;
public static void EnableLog(bool enabled)
{
enableLog = enabled;
}
public static bool GetEnable()
{
return enableLog;
}
public static void i(string message)
{
if (enableLog)
{
Debug.Log("[ThinkingData] Info: " + message);
}
}
public static void d(string message)
{
if (enableLog)
{
Debug.Log("[ThinkingData] Debug: " + message);
}
}
public static void e(string message)
{
if (enableLog)
{
Debug.LogError("[ThinkingData] Error: " + message);
}
}
public static void w(string message)
{
if (enableLog)
{
Debug.LogWarning("[ThinkingData] Warning: " + message);
}
}
}
}