Class BundleBuildContent | Scriptable Build Pipeline | 1.7.3
docs.unity.cn
    Show / Hide Table of Contents

    Class BundleBuildContent

    Basic implementation of IBundleBuildContent. Stores the list of Assets with explicit Asset Bundle layout to feed the Scriptable Build Pipeline. IBundleBuildContent

    Inheritance
    Object
    BundleBuildContent
    Namespace: UnityEditor.Build.Pipeline
    Syntax
    [Serializable]
    public class BundleBuildContent : IBundleBuildContent, IBuildContent, IContextObject

    Constructors

    BundleBuildContent()

    Default constructor, creates an empty BundleBuildContent.

    Declaration
    public BundleBuildContent()

    BundleBuildContent(IEnumerable<AssetBundleBuild>)

    Default constructor, takes a set of AssetBundleBuild and converts them to the appropriate properties.

    Declaration
    public BundleBuildContent(IEnumerable<AssetBundleBuild> bundleBuilds)
    Parameters
    Type Name Description
    IEnumerable<AssetBundleBuild> bundleBuilds

    The set of AssetbundleBuild to be built.

    Properties

    Addresses

    Custom loading identifiers to use for Assets or Scenes.

    Declaration
    public Dictionary<GUID, string> Addresses { get; }
    Property Value
    Type Description
    Dictionary<GUID, String>
    Implements
    IBundleBuildContent.Addresses

    Assets

    List of Assets to include.

    Declaration
    public List<GUID> Assets { get; }
    Property Value
    Type Description
    List<GUID>
    Implements
    IBuildContent.Assets

    BundleLayout

    Specific layout of asset bundles to assets or scenes.

    Declaration
    public Dictionary<string, List<GUID>> BundleLayout { get; }
    Property Value
    Type Description
    Dictionary<String, List<GUID>>
    Implements
    IBundleBuildContent.BundleLayout

    Scenes

    List of Scenes to include.

    Declaration
    public List<GUID> Scenes { get; }
    Property Value
    Type Description
    List<GUID>
    Implements
    IBuildContent.Scenes
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX