public void parseXml(string path, AssetBundleNameXmlData data)
        {
            XmlDocument xmlDoc = new XmlDocument();

            xmlDoc.Load(path);
            XmlNode rootNode = xmlDoc.SelectSingleNode("Root");

            XmlNodeList            packNodeList = rootNode.ChildNodes;
            XmlElement             packElem;
            AssetBundleNameXmlPath xmlPath;

            foreach (XmlNode packNode in packNodeList)
            {
                packElem = (XmlElement)packNode;

                xmlPath = new AssetBundleNameXmlPath();
                data.m_pathList.Add(xmlPath);
                xmlPath.parseXml(packElem);
            }
        }
Пример #2
0
 public ExportAssetBundleNameSys()
 {
     m_abNameXmlData = new AssetBundleNameXmlData();
 }