Пример #1
0
        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);
            });
        }
Пример #2
0
 public static void Generate(string pathToData, bool recompile = false, bool minimalScriptsSize = false)
 {
     CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, null);
 }
Пример #3
0
 public static void GenerateByWindow(string pathToData, bool recompile = false, bool minimalScriptsSize = false, FD.FlowWindow window = null)
 {
     CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, flowWindow => flowWindow == window);
 }
Пример #4
0
 public static void GenerateByTag(string pathToData, int tag, bool recompile = false, bool minimalScriptsSize = false)
 {
     CompilerSystem.Generate(pathToData, recompile, minimalScriptsSize, flowWindow => flowWindow.tags.Contains(tag));
 }