add simple runtime; fix the issue of crashing when creating file and folder; some tweaks
This commit is contained in:
15
Prism-ScriptCore/Src/Prism/Engine/Engine.cs
Normal file
15
Prism-ScriptCore/Src/Prism/Engine/Engine.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Prism
|
||||
{
|
||||
public class Debug
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void Log_Native(string message);
|
||||
|
||||
public static void Log(string message)
|
||||
{
|
||||
Log_Native(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -9,8 +9,8 @@ namespace Prism
|
||||
public Vec3 Rotation;
|
||||
public Vec3 Scale;
|
||||
|
||||
public Vec3 Up { get; }
|
||||
public Vec3 Right { get; }
|
||||
public Vec3 Forward { get; }
|
||||
public Vec3 Up;
|
||||
public Vec3 Right;
|
||||
public Vec3 Forward;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user