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

            if (f != null)
            {
                f.LoadFile(srcFile);
            }
        }
Exemplo n.º 2
0
        public void ImportFile(string srcFile, string targetName, string targetDir)
        {
            string[] output = this.GetOutputFiles(srcFile, targetName, targetDir);

            var data = new SkeletonData();

            data.LoadFile(srcFile);
            data.Save(output.First());
        }