mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
20 lines
376 B
C#
20 lines
376 B
C#
|
|
#define UNITY
|
||
|
|
|
||
|
|
namespace UniLua.Tools
|
||
|
|
{
|
||
|
|
// thanks to dharco
|
||
|
|
// refer to https://github.com/dharco/UniLua/commit/2854ddf2500ab2f943f01a6d3c9af767c092ce75
|
||
|
|
public class ULDebug
|
||
|
|
{
|
||
|
|
public static System.Action<object> Log = NoAction;
|
||
|
|
public static System.Action<object> LogError = NoAction;
|
||
|
|
|
||
|
|
private static void NoAction(object msg) { }
|
||
|
|
|
||
|
|
static ULDebug()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|