Exemplo n.º 1
0
            internal static _Undo Undo()
            {
                if (_UndoFunc == null)
                {
                    _UndoFunc =
                        (_Undo)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoAction_undo"), typeof(_Undo));
                }

                return(_UndoFunc);
            }
Exemplo n.º 2
0
            internal static _Undo Undo()
            {
                if (_UndoFunc == null)
                {
                    _UndoFunc =
                        (_Undo)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_undo"), typeof(_Undo));
                }

                return(_UndoFunc);
            }