示例#1
0
            internal static _GetMenuCount GetMenuCount()
            {
                if (_GetMenuCountFunc == null)
                {
                    _GetMenuCountFunc =
                        (_GetMenuCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMenuBar_getMenuCount"), typeof(_GetMenuCount));
                }

                return(_GetMenuCountFunc);
            }
示例#2
0
            internal static _GetMenuCount GetMenuCount()
            {
                if (_GetMenuCountFunc == null)
                {
                    _GetMenuCountFunc =
                        (_GetMenuCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMenuBar_getMenuCount"), typeof(_GetMenuCount));
                }

                return(_GetMenuCountFunc);
            }