コード例 #1
0
            internal static _AddLanguage AddLanguage()
            {
                if (_AddLanguageFunc == null)
                {
                    _AddLanguageFunc =
                        (_AddLanguage)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnLangTable_addLanguage"), typeof(_AddLanguage));
                }

                return(_AddLanguageFunc);
            }
コード例 #2
0
            internal static _AddLanguage AddLanguage()
            {
                if (_AddLanguageFunc == null)
                {
                    _AddLanguageFunc =
                        (_AddLanguage)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnLangTable_addLanguage"), typeof(_AddLanguage));
                }

                return(_AddLanguageFunc);
            }