mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
整理代码1
This commit is contained in:
19
interpreter/UniLua/ULDebug.cs
Normal file
19
interpreter/UniLua/ULDebug.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
#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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user