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