/// <summary> /// 读xml /// </summary> public static XML readFileForXML(string path) { if (!File.Exists(path)) { return(null); } return(XML.readXMLByString(readFileForUTF(path))); }
/// <summary> /// 从Resources目录读取xml /// </summary> public static XML readResourceForXML(string path) { return(XML.readXMLByString(readResourceForUTF(path))); }
/** 获取加载的xml对象 */ public XML getXML() { return(XML.readXMLByString(_www.text)); }