docs.unity3d.com
Search Results for

    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
    Implements
    IBundleBuildContent
    IBuildContent
    IContextObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Build.Pipeline
    Assembly: Unity.ScriptableBuildPipeline.Editor.dll
    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

    AdditionalFiles

    Additional list of raw files to add to an asset bundle

    Declaration
    public Dictionary<string, List<ResourceFile>> AdditionalFiles { get; }
    Property Value
    Type Description
    Dictionary<string, List<ResourceFile>>

    Addresses

    Custom loading identifiers to use for Assets or Scenes.

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

    Assets

    List of Assets to include.

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

    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>>

    CustomAssets

    List of custom content to be included in asset bundles.

    Declaration
    public List<CustomContent> CustomAssets { get; }
    Property Value
    Type Description
    List<CustomContent>

    Scenes

    List of Scenes to include.

    Declaration
    public List<GUID> Scenes { get; }
    Property Value
    Type Description
    List<GUID>

    Implements

    IBundleBuildContent
    IBuildContent
    IContextObject
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)