Exemple #1
0
            internal static _GetUndoCount GetUndoCount()
            {
                if (_GetUndoCountFunc == null)
                {
                    _GetUndoCountFunc =
                        (_GetUndoCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getUndoCount"), typeof(_GetUndoCount));
                }

                return(_GetUndoCountFunc);
            }
Exemple #2
0
            internal static _GetUndoCount GetUndoCount()
            {
                if (_GetUndoCountFunc == null)
                {
                    _GetUndoCountFunc =
                        (_GetUndoCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getUndoCount"), typeof(_GetUndoCount));
                }

                return(_GetUndoCountFunc);
            }