예제 #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();
 }