Exemplo n.º 1
0
            internal static _OnMenuItemSelect OnMenuItemSelect()
            {
                if (_OnMenuItemSelectFunc == null)
                {
                    _OnMenuItemSelectFunc =
                        (_OnMenuItemSelect)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiMenuBar_onMenuItemSelect"), typeof(_OnMenuItemSelect));
                }

                return(_OnMenuItemSelectFunc);
            }
Exemplo n.º 2
0
            internal static _OnMenuItemSelect OnMenuItemSelect()
            {
                if (_OnMenuItemSelectFunc == null)
                {
                    _OnMenuItemSelectFunc =
                        (_OnMenuItemSelect)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiMenuBar_onMenuItemSelect"), typeof(_OnMenuItemSelect));
                }

                return(_OnMenuItemSelectFunc);
            }