コード例 #1
0
            internal static _SelectWindow SelectWindow()
            {
                if (_SelectWindowFunc == null)
                {
                    _SelectWindowFunc =
                        (_SelectWindow)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiWindowCtrl_selectWindow"), typeof(_SelectWindow));
                }

                return(_SelectWindowFunc);
            }
コード例 #2
0
            internal static _SelectWindow SelectWindow()
            {
                if (_SelectWindowFunc == null)
                {
                    _SelectWindowFunc =
                        (_SelectWindow)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiWindowCtrl_selectWindow"), typeof(_SelectWindow));
                }

                return(_SelectWindowFunc);
            }