public void ReimportFile(ContentRef <Resource> r, string srcFile) { SpineAtlas f = r.Res as SpineAtlas; if (f != null) { f.LoadFile(srcFile); } }
public void ImportFile(string srcFile, string targetName, string targetDir) { string[] output = this.GetOutputFiles(srcFile, targetName, targetDir); var data = new SpineAtlas(); data.LoadFile(srcFile); data.Save(output.First()); }