使用 unity 和 c#,当我尝试这些行时
using System.Xml.Linq;
我收到此错误
The type or namespace name
Linq' does not exist in the namespace
System.Xml'. Are you missing an assembly reference?
所以我在网上通过大量搜索发现,Linq会出现问题,需要在MonoDevelop中手动添加引用。因此,我在那里添加了一个引用(通过右键单击解决方案 Pane 中的“引用”,单击“编辑引用”并浏览查找 System.Xml.Linq)
还是没有运气,
有什么想法吗?
最佳答案
关于c# - 如何在Unity C#脚本中使用System.Xml.Linq?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17837363/