update 1.1.25

This commit is contained in:
2024-03-12 02:17:14 +08:00
parent 5a00a4438a
commit 1a9e55a8a3
346 changed files with 1902 additions and 4759 deletions

View File

@@ -5,28 +5,33 @@ using System.Linq;
using UnityEditor;
using UnityEngine;
public class ATLog
{
public static void log (string msg)
public class ATLog {
public static bool isDebug = false;
public static void log(string msg)
{
#if AnyThinkSDKEditor
// string msg =
Debug.Log (msg);
#endif
if (isDebug) {
Debug.Log(msg);
}
}
public static void log (string tag, string msg)
public static void log(string tag, string msg)
{
Debug.Log (tag + ": " + msg);
if (isDebug) {
Debug.Log(tag + ": " + msg);
}
}
public static void logFormat (string msg, object[] args)
{
Debug.LogFormat (msg, args);
public static void logFormat(string msg, object[] args)
{
if (isDebug) {
Debug.LogFormat(msg, args);
}
}
public static void logError (string msg)
public static void logError(string msg)
{
Debug.LogError (msg);
Debug.LogError(msg);
}
}