Пример #1
0
            internal static _SelectOption SelectOption()
            {
                if (_SelectOptionFunc == null)
                {
                    _SelectOptionFunc =
                        (_SelectOption)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGameListMenuCtrl_selectOption"), typeof(_SelectOption));
                }

                return(_SelectOptionFunc);
            }
Пример #2
0
            internal static _SelectOption SelectOption()
            {
                if (_SelectOptionFunc == null)
                {
                    _SelectOptionFunc =
                        (_SelectOption)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGameListMenuCtrl_selectOption"), typeof(_SelectOption));
                }

                return(_SelectOptionFunc);
            }