feat(scripting): add mono csharp runtime foundation
This commit is contained in:
20
managed/XCEngine.ScriptCore/Debug.cs
Normal file
20
managed/XCEngine.ScriptCore/Debug.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace XCEngine
|
||||
{
|
||||
public static class Debug
|
||||
{
|
||||
public static void Log(string message)
|
||||
{
|
||||
InternalCalls.Debug_Log(message ?? string.Empty);
|
||||
}
|
||||
|
||||
public static void LogWarning(string message)
|
||||
{
|
||||
InternalCalls.Debug_LogWarning(message ?? string.Empty);
|
||||
}
|
||||
|
||||
public static void LogError(string message)
|
||||
{
|
||||
InternalCalls.Debug_LogError(message ?? string.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user