Esempio n. 1
0
            internal static _OnWindowClosed OnWindowClosed()
            {
                if (_OnWindowClosedFunc == null)
                {
                    _OnWindowClosedFunc =
                        (_OnWindowClosed)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPfxVis_onWindowClosed"), typeof(_OnWindowClosed));
                }

                return(_OnWindowClosedFunc);
            }
Esempio n. 2
0
            internal static _OnWindowClosed OnWindowClosed()
            {
                if (_OnWindowClosedFunc == null)
                {
                    _OnWindowClosedFunc =
                        (_OnWindowClosed)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPfxVis_onWindowClosed"), typeof(_OnWindowClosed));
                }

                return(_OnWindowClosedFunc);
            }