示例#1
0
            internal static _PostEvent PostEvent()
            {
                if (_PostEventFunc == null)
                {
                    _PostEventFunc =
                        (_PostEvent)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_postEvent"), typeof(_PostEvent));
                }

                return(_PostEventFunc);
            }
示例#2
0
            internal static _PostEvent PostEvent()
            {
                if (_PostEventFunc == null)
                {
                    _PostEventFunc =
                        (_PostEvent)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_postEvent"), typeof(_PostEvent));
                }

                return(_PostEventFunc);
            }