ScriptCore: Added UUID.CreateNew

This commit is contained in:
Simon Lübeß
2023-12-10 12:50:11 +01:00
parent 1238a43896
commit bedbc696c3
4 changed files with 41 additions and 0 deletions
+14
View File
@@ -115,5 +115,19 @@ internal static class ScriptGlue
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern float4 modf_float4(float4 x, out float4 integerPart);
#endregion
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void UUID_CreateNew(out UUID uuid);
#region Application
// TODO: Implement IsEditor and IsPlaying
//[MethodImpl(MethodImplOptions.InternalCall)]
//internal static extern bool Application_IsEditor();
//[MethodImpl(MethodImplOptions.InternalCall)]
//internal static extern bool Application_IsPlaying();
#endregion
}