Class BuildContent
Basic implementation of IBuildContent. Stores the list of Assets to feed the Scriptable Build Pipeline. IBuildContent
Namespace: UnityEditor.Build.Pipeline
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> |
Implements
Scenes
List of Scenes to include.
Declaration
public List<GUID> Scenes { get; }
Property Value
Type | Description |
---|---|
List<GUID> |