public void Setup(BuildTarget target,
NodeData node,
IEnumerable <PerformGraph.AssetGroups> incoming,
IEnumerable <ConnectionData> connectionsToOutput,
PerformGraph.Output Output)
{
ValidateExportPath(
node.ExporterExportPath[target],
FileUtility.GetPathWithProjectPath(node.ExporterExportPath[target]),
() => {
throw new NodeException(node.Name + ":Export Path is empty.", node.Id);
},
() => {
if (node.ExporterExportOption[target] == (int)ExporterExportOption.ErrorIfNoExportDirectoryFound)
{
throw new NodeException(node.Name + ":Directory set to Export Path does not exist. Path:" + node.ExporterExportPath[target], node.Id);
}
}
);
}