Class BuildContent
Basic implementation of IBuildContent. Stores the list of Assets to feed the Scriptable Build Pipeline. IBuildContent
Inheritance
System.Object
BuildContent
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Build.Pipeline
Syntax
[Serializable]
public class BuildContent : IBuildContent, IContextObject
Constructors
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 |
---|---|---|
System.Collections.Generic.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 |
---|---|
System.Collections.Generic.List<GUID> |
Implements
Scenes
List of Scenes to include.
Declaration
public List<GUID> Scenes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GUID> |