Example #1
0
        void AddBuildConfig(BuildRuleConfig config)
        {
            BuildRuleConfig data = config.Clone() as BuildRuleConfig;

            Config.Add(data);
            if (data.IsCopyDirectory)
            {
                CopyDirectory.Add(data.Name);
            }
            if (!AllDirectory.Contains(data.Name))
            {
                AllDirectory.Add(data.Name);
            }
        }
Example #2
0
 public BuildAssetsWithPath(DLCItem dlc, BuildRuleConfig config) : base(dlc, config)
 {
 }
Example #3
0
 public BuildAssetsWithDirectroy(DLCItem dlc, BuildRuleConfig config) : base(dlc, config)
 {
 }
Example #4
0
 public BuildRule(DLCItem dlc, BuildRuleConfig config)
 {
     DLCItem = dlc;
     Config  = config;
 }
Example #5
0
        // 根据文件夹获得名称
        static Tuple <string, string> GetABNameDirectory(DLCItem item, BuildRuleConfig data)
        {
            string source = data.Name.ToLower();

            return(new Tuple <string, string>((item.Name + "_" + source).ToLower(), source.ToLower()));
        }
Example #6
0
        // 根据文件夹以及文件名生成Bundle名称
        static Tuple <string, string> GetABNameFile(DLCItem item, BuildRuleConfig data, string filePath)
        {
            string source = (data.Name + "/" + Path.GetFileNameWithoutExtension(filePath)).ToLower();

            return(new Tuple <string, string>((item.Name + "_" + source).ToLower(), source.ToLower()));
        }