public void Export(IAssetExportEnvironment env)
        {
            // Determine input and output path
            CsvData input      = env.Input as CsvData;
            string  outputPath = env.AddOutputPath(input.Name + SourceFileExtPrimary);

            BaseAssetImporter.Export(input, outputPath);
        }
示例#2
0
        public void Export(IAssetExportEnvironment env)
        {
            // Determine input and output path
            JsonData input      = env.Input as JsonData;
            string   outputPath = env.AddOutputPath(input.Name + SourceFileExtPrimary);

            // Take the input Resource's pixel data and save it at the specified location
            BaseAssetImporter.Export(input, outputPath);
        }