Exemple #1
0
            internal static _BuildLinks BuildLinks()
            {
                if (_BuildLinksFunc == null)
                {
                    _BuildLinksFunc =
                        (_BuildLinks)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavMesh_buildLinks"), typeof(_BuildLinks));
                }

                return(_BuildLinksFunc);
            }
Exemple #2
0
            internal static _BuildLinks BuildLinks()
            {
                if (_BuildLinksFunc == null)
                {
                    _BuildLinksFunc =
                        (_BuildLinks)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavMesh_buildLinks"), typeof(_BuildLinks));
                }

                return(_BuildLinksFunc);
            }