docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023