internal static _GetMenuCount GetMenuCount() { if (_GetMenuCountFunc == null) { _GetMenuCountFunc = (_GetMenuCount)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiMenuBar_getMenuCount"), typeof(_GetMenuCount)); } return(_GetMenuCountFunc); }
internal static _GetMenuCount GetMenuCount() { if (_GetMenuCountFunc == null) { _GetMenuCountFunc = (_GetMenuCount)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiMenuBar_getMenuCount"), typeof(_GetMenuCount)); } return(_GetMenuCountFunc); }