private static void GenerateMobileAppendix(string applicationPath, string guid) { try { if (!Directory.Exists(AppendixSavePath)) { Directory.CreateDirectory(AppendixSavePath); } var appendix = new MobileAppendix(applicationPath); var appendixFilePath = Path.Combine(AppendixSavePath, guid); appendix.Save(appendixFilePath); } catch (Exception e) { Debug.LogError(e); } }
internal static MobileAppendix LoadMobileAppendix(string guid) { var appendixFile = Path.Combine(AppendixSavePath, guid); return(File.Exists(appendixFile) ? MobileAppendix.Load(appendixFile) : null); }