docs.unity.cn
    Show / Hide Table of Contents

    Method PrepGroupBundlePacking

    PrepGroupBundlePacking(AddressableAssetGroup, List<AssetBundleBuild>, BundledAssetGroupSchema, Func<AddressableAssetEntry, Boolean>)

    Processes an AddressableAssetGroup and generates AssetBundle input definitions based on the BundlePackingMode.

    Declaration
    public static List<AddressableAssetEntry> PrepGroupBundlePacking(AddressableAssetGroup assetGroup, List<AssetBundleBuild> bundleInputDefs, BundledAssetGroupSchema schema, Func<AddressableAssetEntry, bool> entryFilter = null)
    Parameters
    Type Name Description
    AddressableAssetGroup assetGroup

    The AddressableAssetGroup to be processed.

    List<AssetBundleBuild> bundleInputDefs

    The list of bundle definitions fed into the build pipeline AssetBundleBuild

    BundledAssetGroupSchema schema

    The BundledAssetGroupSchema of used to process the assetGroup.

    Func<AddressableAssetEntry, Boolean> entryFilter

    A filter to remove AddressableAssetEntries from being processed in the build.

    Returns
    Type Description
    List<AddressableAssetEntry>

    The total list of AddressableAssetEntries that were processed.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, August 9, 2023