Example #1
0
            internal static _UnregisterEvent UnregisterEvent()
            {
                if (_UnregisterEventFunc == null)
                {
                    _UnregisterEventFunc =
                        (_UnregisterEvent)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_unregisterEvent"), typeof(_UnregisterEvent));
                }

                return(_UnregisterEventFunc);
            }
Example #2
0
            internal static _UnregisterEvent UnregisterEvent()
            {
                if (_UnregisterEventFunc == null)
                {
                    _UnregisterEventFunc =
                        (_UnregisterEvent)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_unregisterEvent"), typeof(_UnregisterEvent));
                }

                return(_UnregisterEventFunc);
            }