コード例 #1
0
ファイル: UndoAction.cs プロジェクト: lukaspj/T3DSharp
            internal static _Undo Undo()
            {
                if (_UndoFunc == null)
                {
                    _UndoFunc =
                        (_Undo)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoAction_undo"), typeof(_Undo));
                }

                return(_UndoFunc);
            }
コード例 #2
0
            internal static _Undo Undo()
            {
                if (_UndoFunc == null)
                {
                    _UndoFunc =
                        (_Undo)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_undo"), typeof(_Undo));
                }

                return(_UndoFunc);
            }