private void LoadManifest() { if (!File.Exists(ManifestPath)) { Debug.LogErrorFormat("No manifest at ManifestPath {0}.", ManifestPath); } Manifest = BuildManifest.ReadFromFile(ManifestPath); }
public BuildManifestView(BuildManifest manifest) { Manifest = manifest; }
public static void WriteToFile(BuildManifest manifest, string path) { var json = JsonConvert.SerializeObject(manifest, Formatting.Indented); File.WriteAllText(path, json); }
private void SaveManifest() { BuildManifest.WriteToFile(Manifest, ManifestPath); }
private void CreateManifest() { Manifest = new BuildManifest(); }