Class AddressableAssetsBundleBuildParameters | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class AddressableAssetsBundleBuildParameters

    Custom bundle parameter container that provides custom compression settings per bundle.

    Inheritance
    Object
    BuildParameters
    BundleBuildParameters
    AddressableAssetsBundleBuildParameters
    Inherited Members
    BundleBuildParameters.AppendHash
    UnityEditor.Build.Pipeline.BundleBuildParameters.ContiguousBundles
    BuildParameters.GetContentBuildSettings()
    BuildParameters.GetScriptCompilationSettings()
    BuildParameters.GetOutputFilePathForIdentifier(String)
    BuildParameters.Target
    BuildParameters.Group
    BuildParameters.ContentBuildFlags
    BuildParameters.ScriptInfo
    BuildParameters.ScriptOptions
    BuildParameters.BundleCompression
    BuildParameters.OutputFolder
    BuildParameters.TempOutputFolder
    BuildParameters.UseCache
    BuildParameters.CacheServerHost
    BuildParameters.CacheServerPort
    UnityEditor.Build.Pipeline.BuildParameters.WriteLinkXML
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build.DataBuilders
    Syntax
    public class AddressableAssetsBundleBuildParameters : BundleBuildParameters, IBundleBuildParameters, IBuildParameters, IContextObject

    Constructors

    AddressableAssetsBundleBuildParameters(AddressableAssetSettings, Dictionary<String, String>, BuildTarget, BuildTargetGroup, String)

    Create a AddressableAssetsBundleBuildParameters with data needed to determine the correct compression per bundle.

    Declaration
    public AddressableAssetsBundleBuildParameters(AddressableAssetSettings aaSettings, Dictionary<string, string> bundleToAssetGroup, BuildTarget target, BuildTargetGroup group, string outputFolder)
    Parameters
    Type Name Description
    AddressableAssetSettings aaSettings

    The AddressableAssetSettings object to use for retrieving groups.

    Dictionary<String, String> bundleToAssetGroup

    Mapping of bundle identifier to guid of asset groups.

    BuildTarget target

    The build target. This is used by the BundleBuildParameters base class.

    BuildTargetGroup group

    The build target group. This is used by the BundleBuildParameters base class.

    String outputFolder

    The path for the output folder. This is used by the BundleBuildParameters base class.

    Methods

    GetCompressionForIdentifier(String)

    Get the compressions settings for the specified asset bundle.

    Declaration
    public override BuildCompression GetCompressionForIdentifier(string identifier)
    Parameters
    Type Name Description
    String identifier

    The identifier of the asset bundle.

    Returns
    Type Description
    BuildCompression

    The compression setting for the asset group. If the group is not found, the default compression is used.

    Overrides
    BuildParameters.GetCompressionForIdentifier(String)
    Back to top
    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