Files
Commercialization.topon/AnyThinkPlugin/Script/IntegrationManager/Editor/ATLog.cs

32 lines
570 B
C#
Raw Normal View History

2023-09-04 16:57:46 +08:00
using System;
using System.Collections;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
2024-03-07 15:23:32 +08:00
public class ATLog
{
public static void log (string msg)
2023-09-04 16:57:46 +08:00
{
2024-03-07 15:23:32 +08:00
#if AnyThinkSDKEditor
2023-09-04 16:57:46 +08:00
// string msg =
2024-03-07 15:23:32 +08:00
Debug.Log (msg);
#endif
2023-09-04 16:57:46 +08:00
}
2024-03-07 15:23:32 +08:00
public static void log (string tag, string msg)
2023-09-04 16:57:46 +08:00
{
2024-03-07 15:23:32 +08:00
Debug.Log (tag + ": " + msg);
2023-09-04 16:57:46 +08:00
}
2024-03-07 15:23:32 +08:00
public static void logFormat (string msg, object[] args)
{
Debug.LogFormat (msg, args);
2023-09-04 16:57:46 +08:00
}
2024-03-07 15:23:32 +08:00
public static void logError (string msg)
2023-09-04 16:57:46 +08:00
{
2024-03-07 15:23:32 +08:00
Debug.LogError (msg);
2023-09-04 16:57:46 +08:00
}
}