public static void AddMapClear(int clearId, int openId) { string path = Application.persistentDataPath + "/Xml/Map.Xml"; XmlDocument xmlDoc = new XmlDocument(); if (System.IO.File.Exists(path)) { xmlDoc.LoadXml(System.IO.File.ReadAllText(path)); } //복호화//// XmlElement elmRoot = xmlDoc.DocumentElement; var decrpytData = DataSecurityManager.DecryptData(elmRoot.InnerText); elmRoot.InnerXml = decrpytData; ////////// ChangeNode(MapSystem.GetUserMap(clearId), xmlDoc); CreateNode(MapSystem.GetMap(openId), xmlDoc, path); }