Exemplo n.º 1
0
        public override void Export(string FileName)
        {
            string ext = Utils.GetExtension(FileName);

            if (ext == ".bfmaa")
            {
                MaterialAnim.Export(FileName, GetResFile());
            }
            else if (ext == ".yaml")
            {
                System.IO.File.WriteAllText(FileName, YamlFmaa.ToYaml(FileName, MaterialAnim, AnimType));
            }
        }
Exemplo n.º 2
0
        private void Export(object sender, EventArgs args)
        {
            SaveFileDialog sfd = new SaveFileDialog();

            sfd.Filter     = "Supported Formats|*.bfmaa;";
            sfd.FileName   = Text;
            sfd.DefaultExt = ".bfska";

            if (sfd.ShowDialog() == DialogResult.OK)
            {
                MaterialAnim.Export(sfd.FileName, GetResFile());
            }
        }
Exemplo n.º 3
0
 public override void Export(string FileName)
 {
     MaterialAnim.Export(FileName, GetResFile());
 }