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

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

                return(_GetMenuIDFunc);
            }