Exemplo n.º 1
0
            internal static _GetMenuID GetMenuID()
            {
                if (_GetMenuIDFunc == null)
                {
                    _GetMenuIDFunc =
                        (_GetMenuID)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiFormCtrl_getMenuID"), typeof(_GetMenuID));
                }

                return(_GetMenuIDFunc);
            }
Exemplo n.º 2
0
            internal static _GetMenuID GetMenuID()
            {
                if (_GetMenuIDFunc == null)
                {
                    _GetMenuIDFunc =
                        (_GetMenuID)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiFormCtrl_getMenuID"), typeof(_GetMenuID));
                }

                return(_GetMenuIDFunc);
            }