| 1234567891011121314151617181920 |
- using System;
- using System.Linq;
- using System.Runtime.InteropServices;
- namespace Urho.Droid
- {
- public static class UrhoEngine
- {
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- public delegate int SdlCallback(IntPtr context);
- [DllImport("mono-urho", CallingConvention = CallingConvention.Cdecl)]
- internal static extern void RegisterSdlLauncher(SdlCallback callback);
- public static void Init()
- {
- Application.EngineInited = true;
- }
- }
- }
|