static void ImportBatch() { int pipeline = QueryPipelineType("Query Pipeline Type"); bool[] workflow = QueryWorkflowMethod("Batch Import Material"); if (!(workflow[0] == false && workflow[1] == false)) { Toolkit.BatchCreateMaterial(Toolkit.GetFolderPath("Import GameTextures Material - BATCH"), GetPipeline(pipeline), workflow[0], workflow[1], true); } }