Пример #1
0
        private void LoadManifest()
        {
            if (!File.Exists(ManifestPath))
            {
                Debug.LogErrorFormat("No manifest at ManifestPath {0}.", ManifestPath);
            }

            Manifest = BuildManifest.ReadFromFile(ManifestPath);
        }
Пример #2
0
 public BuildManifestView(BuildManifest manifest)
 {
     Manifest = manifest;
 }
Пример #3
0
        public static void WriteToFile(BuildManifest manifest, string path)
        {
            var json = JsonConvert.SerializeObject(manifest, Formatting.Indented);

            File.WriteAllText(path, json);
        }
Пример #4
0
 private void SaveManifest()
 {
     BuildManifest.WriteToFile(Manifest, ManifestPath);
 }
Пример #5
0
 private void CreateManifest()
 {
     Manifest = new BuildManifest();
 }