Example input file any scene from Unity3D. Example code:
var input = new StringReader(File.ReadAllText("Scene1.unity"));
var yaml = new YamlStream();
yaml.Load(input);
var tw = File.CreateText(sc.path + ".yaml");
yaml.Save(tw,false);
Verification shell command:
diff Scene1.unity Scene1.unity.yaml
^ got totally different result
Example input file any scene from Unity3D. Example code:
var input = new StringReader(File.ReadAllText("Scene1.unity")); var yaml = new YamlStream(); yaml.Load(input); var tw = File.CreateText(sc.path + ".yaml"); yaml.Save(tw,false); Verification shell command: diff Scene1.unity Scene1.unity.yaml ^ got totally different result