add simple runtime; fix the issue of crashing when creating file and folder; some tweaks

This commit is contained in:
2026-03-25 21:36:38 +08:00
parent f1de5df4de
commit ef4ea45edc
48 changed files with 996 additions and 362 deletions

View 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);
}
}
}

View File

@ -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;
}
}