摘要: XML操作一直没怎么学,看到节点什么的就头痛。好在有个XmlSerializer类,使得数据的转换变得相当轻松。XmlSerializer类的说明请看官网:http://msdn.microsoft.com/zh-cn/library/system.xml.serialization.xmlserializer(VS.80).aspx#Y0下面的代码是从某老外写的。演示了如何在XML中保存和读取Player数据。这段是C#的using UnityEngine; using System.Collections; using System.Xml; using System.Xml.Serial 阅读全文
posted @ 2012-03-31 17:10 妖気 阅读(2309) 评论(0) 推荐(0) 编辑