internal EasyAssetBundleBuildConfig(string scriptName) { Platform = 0; ExportConfig = new EasyAssetBundleExportConfig(); UploadConfig = new EasyAssetBundleUploadConfig(); AssetLabelConfig = new EasyAssetBundleLabelConfig(); AssetBundleListConfig = new EasyAssetBundleListConfig(); ScriptName = scriptName; }
internal EasyAssetBundleBuildConfig(EasyAssetBundleBuildConfig copy) { AssetLabelConfig = new EasyAssetBundleLabelConfig(copy.AssetLabelConfig); ExportConfig = new EasyAssetBundleExportConfig(copy.ExportConfig); AssetBundleListConfig = new EasyAssetBundleListConfig(copy.AssetBundleListConfig); UploadConfig = copy.UploadConfig; Options = copy.Options; AssetBundleBuildRootPath = copy.AssetBundleBuildRootPath; Platform = copy.Platform; AssetLabelConfig.Initialize(AssetBundleBuildRootPath); }
internal EasyAssetBundleLabelConfig(EasyAssetBundleLabelConfig copy) { for (int i = 0; i < copy.LabelSetting.Count; i++) { LabelSetting.Add(new DirectoryLabelSetting(copy.LabelSetting[i])); } for (int i = 0; i < copy.FileNameChecker.Count; i++) { FileNameChecker.Add(new FileNameCkeckerSetting(copy.FileNameChecker[i])); } DefaultLabelType = copy.DefaultLabelType; DefaultNGPattern = copy.DefaultNGPattern; }