예제 #1
0
        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 EasyAssetBundleBuildProcessor(EasyAssetBundleBuilderData data, BuildProgress start = BuildProgress.PickUpBuildAssets, BuildProgress end = BuildProgress.UploadAssetBundle)
        {
            Progress    = start;
            ProgressEnd = end;
            buildData   = data;

            config             = data.Config;
            assetList          = buildData.BuildAssets;
            versionAssetList   = buildData.VersionAssets;
            assetListProcess   = ( IAssetBundleList )buildData;
            assetExportProcess = ( IAssetBundleExporter )buildData;
            assetUploadProcess = ( IAssetBundleUploader )buildData;
        }