Example #1
0
            internal static _OnRestore OnRestore()
            {
                if (_OnRestoreFunc == null)
                {
                    _OnRestoreFunc =
                        (_OnRestore)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiWindowCtrl_onRestore"), typeof(_OnRestore));
                }

                return(_OnRestoreFunc);
            }
Example #2
0
            internal static _OnRestore OnRestore()
            {
                if (_OnRestoreFunc == null)
                {
                    _OnRestoreFunc =
                        (_OnRestore)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiWindowCtrl_onRestore"), typeof(_OnRestore));
                }

                return(_OnRestoreFunc);
            }