Unity 无法使用 Quick Graph Library 找到函数定义

Unity cant find function definition with Quick Graph Library

我在 unity 项目中使用快速图形库。我使用 visual studio 作为我的编辑器,它没有给出此行的错误,但是当我尝试统一编译时,它说它找不到为图形定义的函数 ShortestPathsDijkstra。这行绝对是正确的,因为我从快速图形文档中得到了它。

TryFunc<string, IEnumerable<Edge<string>>> tryGetPaths =      graph.ShortestPathsDijkstra(edgeCost, root);

QuickGraph is a portable library, i.e. supports .Net 4.0 ...

在当前版本的 Unity 中,支持此功能。您可以使用支持 .Net 3.5 的库,这是支持的最高 .net 版本。

Unity currently supports .NET 2.0/3.5 era functionality for both the C# compiler and the class libraries.

看到这个link:http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/