Esempio n. 1
0
            internal static _GetRedoCount GetRedoCount()
            {
                if (_GetRedoCountFunc == null)
                {
                    _GetRedoCountFunc =
                        (_GetRedoCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getRedoCount"), typeof(_GetRedoCount));
                }

                return(_GetRedoCountFunc);
            }
Esempio n. 2
0
            internal static _GetRedoCount GetRedoCount()
            {
                if (_GetRedoCountFunc == null)
                {
                    _GetRedoCountFunc =
                        (_GetRedoCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_getRedoCount"), typeof(_GetRedoCount));
                }

                return(_GetRedoCountFunc);
            }