摘要: 通过代码执行某个菜单项: EditorApplication.ExecuteMenuItem("GameObject/Create Other/Cube"); 阅读全文
posted @ 2012-03-12 09:57 斯芬克斯 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 在PC上和IOS上读取XML文件的方式略有差别,经测试,IOS上不支持如下方法载入XML文件: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("Assets/Resources/text.xml"); IOS上载入XML的正确方法有2种: (... 阅读全文
posted @ 2012-03-12 09:55 斯芬克斯 阅读(4751) 评论(1) 推荐(0) 编辑