Class BundleBuildContent
Basic implementation of IBundleBuildContent. Stores the list of Assets with explicit Asset Bundle layout to feed the Scriptable Build Pipeline. IBundleBuildContent
Namespace: UnityEditor.Build.Pipeline
Syntax
public class BundleBuildContent : object, 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
Assets
List of Assets to include.
Declaration
public List<GUID> Assets { get; }
Property Value
Type | Description |
---|---|
List<GUID> |
Implements
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
Scenes
List of Scenes to include.
Declaration
public List<GUID> Scenes { get; }
Property Value
Type | Description |
---|---|
List<GUID> |