![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Xml
菜园赤子
这个作者很懒,什么都没留下…
展开
-
Unity中使用xml文件(非序列化)
1、在StreamingAssets文件夹下面新建一个test.xml文件。 2、编辑该文件,输入并保存如下内容 <root> <username>蔡徐坤</username> <password>jinitaimei</password> <fans> <fan name="张三" age="11"/&...原创 2019-05-31 17:32:37 · 186 阅读 · 0 评论 -
Unity中使用xml文件(序列化)
1、创建Account类。 using System.Collections.Generic; using System.Xml.Serialization; using System; [Serializable] [XmlRoot("root")] public class Account { public string username; public string ...原创 2019-06-03 15:22:15 · 1155 阅读 · 1 评论