Unity3d和System.Xml.Linq [英] Unity3d and System.Xml.Linq

查看:47
本文介绍了Unity3d和System.Xml.Linq的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,即使存在Unity \ Editor \ Data \ Mono \ lib \ mono \ 2.0 \ System.Xml.Linq.dll文件,也可以这样做:

So even though the Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.Linq.dll file exists, doing:

using System.Xml.Linq;

生成以下错误:名称空间'System.Xml'中不存在类型或名称空间名称'Linq'.

generates the following error: "The type or namespace name 'Linq' does not exist in the namespace 'System.Xml'.

我该怎么做?

推荐答案

您还需要通过右键单击引用"并选择名称空间来引用名称空间.

You also need to reference the Namespace by right clicking References and selecting the namespace.

这篇关于Unity3d和System.Xml.Linq的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆