public static void GenerateByTags(string pathToData, int[] tags, bool recompile = false, bool minimalScriptsSize = false) { CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, flowWindow => { foreach (var tag in flowWindow.tags) { if (tags.Contains(tag) == true) { return(true); } } return(false); }); }
public static void Generate(string pathToData, bool recompile = false, bool minimalScriptsSize = false) { CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, null); }
public static void GenerateByWindow(string pathToData, bool recompile = false, bool minimalScriptsSize = false, FD.FlowWindow window = null) { CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, flowWindow => flowWindow == window); }
public static void GenerateByTag(string pathToData, int tag, bool recompile = false, bool minimalScriptsSize = false) { CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, flowWindow => flowWindow.tags.Contains(tag)); }