Class BuildContent
Basic implementation of IBuildContent. Stores the list of Assets to feed the Scriptable Build Pipeline. IBuildContent
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
[Serializable]
public class BuildContent : IBuildContent, IContextObject
Constructors
BuildContent()
Default constructor, creates an empty BuildContent.
Declaration
public BuildContent()
BuildContent(IEnumerable<GUID>)
Default constructor, takes a set of Assets and converts them to the appropriate properties.
Declaration
public BuildContent(IEnumerable<GUID> assets)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<GUID> | assets | The set of Assets identified by GUID to ensure are packaged with the build |
Properties
Assets
List of Assets to include.
Declaration
public List<GUID> Assets { get; }
Property Value
Type | Description |
---|---|
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> |