コード例 #1
0
            internal static _LoadExplicit LoadExplicit()
            {
                if (_LoadExplicitFunc == null)
                {
                    _LoadExplicitFunc =
                        (_LoadExplicit)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnModuleManager_loadExplicit"), typeof(_LoadExplicit));
                }

                return(_LoadExplicitFunc);
            }
コード例 #2
0
ファイル: ModuleManager.cs プロジェクト: lukaspj/T3DSharp
            internal static _LoadExplicit LoadExplicit()
            {
                if (_LoadExplicitFunc == null)
                {
                    _LoadExplicitFunc =
                        (_LoadExplicit)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnModuleManager_loadExplicit"), typeof(_LoadExplicit));
                }

                return(_LoadExplicitFunc);
            }