Пример #1
0
            internal static _Send Send()
            {
                if (_SendFunc == null)
                {
                    _SendFunc =
                        (_Send)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnRadialImpulseEvent_send"), typeof(_Send));
                }

                return(_SendFunc);
            }
Пример #2
0
            internal static _Send Send()
            {
                if (_SendFunc == null)
                {
                    _SendFunc =
                        (_Send)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnRadialImpulseEvent_send"), typeof(_Send));
                }

                return(_SendFunc);
            }