예제 #1
0
            internal static _GetLinkEnd GetLinkEnd()
            {
                if (_GetLinkEndFunc == null)
                {
                    _GetLinkEndFunc =
                        (_GetLinkEnd)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavMesh_getLinkEnd"), typeof(_GetLinkEnd));
                }

                return(_GetLinkEndFunc);
            }
예제 #2
0
파일: NavMesh.cs 프로젝트: lukaspj/T3DSharp
            internal static _GetLinkEnd GetLinkEnd()
            {
                if (_GetLinkEndFunc == null)
                {
                    _GetLinkEndFunc =
                        (_GetLinkEnd)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavMesh_getLinkEnd"), typeof(_GetLinkEnd));
                }

                return(_GetLinkEndFunc);
            }