implemented functions from NativeFunctions.cs
This commit is contained in:
13
src-csharp/NativeFunctions.cs
Normal file
13
src-csharp/NativeFunctions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Ougge;
|
||||
|
||||
internal static class NativeFunctions
|
||||
{
|
||||
[DllImport("__Internal")]
|
||||
internal extern static void createGameObject(out ulong id, out uint index);
|
||||
|
||||
[DllImport("__Internal")]
|
||||
internal extern static bool freeGameObject(uint index);
|
||||
}
|
||||
Reference in New Issue
Block a user