Пример #1
0
            internal static _GetRedoAction GetRedoAction()
            {
                if (_GetRedoActionFunc == null)
                {
                    _GetRedoActionFunc =
                        (_GetRedoAction)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getRedoAction"), typeof(_GetRedoAction));
                }

                return(_GetRedoActionFunc);
            }
Пример #2
0
            internal static _GetRedoAction GetRedoAction()
            {
                if (_GetRedoActionFunc == null)
                {
                    _GetRedoActionFunc =
                        (_GetRedoAction)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getRedoAction"), typeof(_GetRedoAction));
                }

                return(_GetRedoActionFunc);
            }