Ejemplo n.º 1
0
        public void ReimportFile(ContentRef <Resource> r, string srcFile)
        {
            SpineAtlas f = r.Res as SpineAtlas;

            if (f != null)
            {
                f.LoadFile(srcFile);
            }
        }
Ejemplo n.º 2
0
        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());
        }