Class BundleBuildContent
Basic implementation of IBundleBuildContent. Stores the list of Assets with explicit Asset Bundle layout to feed the Scriptable Build Pipeline. IBundleBuildContent
Inherited Members
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> |